Below is the answer from Ayatullah Ul udhma sistani:
In the Name of Allah, the Beneficent, the Merciful
"Ashhadhu anna aliyan waliyullah" is not part of the tashahud therefore; you must not say it in your prayer. It is recommended although to recite it in the "Athan" and the "Iqamah".