It is narrated from an Imam that he said: When you want to perform the Ziyarah of Imam Hadi and Imam Askari (a.s.), perform a Ghusl. Then either go near their graves or recite the Ziyarah by pointing to them from the door which opens to Shubbak Street. Recite the following:
Peace to you O two Walis of Allah. Peace to you O two Proofs of Allah. Peace to you O two lights of Allah in the darkness of the earth. Peace to you O two about whom Allah modified His will. Peace to you O two ones of Allah. Peace to you O two Imams of guidance. I have come to you while I believe in your rights, I am inimical to your enemies and I befriend your friends. I believe in that which you believe in and I disbelieve in that which you disbelieve in. I deem right that which you deemed right and I deem wrong that which you deemed wrong. I ask Allah, my Lord and your Lord, to bless Muhammad and his progeny as my reward for coming to this Ziyarah and to sustain me with accompanying you in Paradise along with your righteous ancestors. And I ask Allah to release me from Hell, to sustain me with your intercession and with accompanying you, to introduce me to you both. I ask Him not to remove your love and the love of your righteous ancestors from my heart, not to make this the last time I come to your Ziyarah and to raise me with you in Paradise with His mercy. O Allah, sustain me with their love and make me die while I believe in their religion. O Allah, curse those who oppressed the rights of Aale Muhammad (a.s.) and take revenge from them. O Allah, curse their first and their last and increase Your chastisement on them. Degrade them, their followers, their lovers and those who follow their lovers to the lowest levels of Hell. Indeed, You have power over everything. O Allah, hasten the reappearance of Your Wali and the son of Your Wali and relieve us with their relief. O most merciful of the merciful ones.
Then pray sincerely for you and your parents and choose a supplication to recite there. If you are performing the Ziyarah near their grave, continue by praying two Rakats by the graves. But if you enter the mosque besides the graves and pray there, pray for that which you want. Indeed Allah is near, ready to answer. This mosque, besides their house, is where they used to pray.
Kamiluz Ziyaraat By: Ibne Quluwayh
Translated by: Sayyid Athar Husain S. H. Rizvi