Why do Shia say “Ashhadu anna ‘Aliyyan waliyyullah” in the adhan?
In the adhan and iqamah, after testifying to the messengership of the Holy Prophet (s), Shia also testify that the Commander of the Faithful, ‘Ali (a), is the wali of Allah — a truth the Qur’an states. But according to the well-known view of the Shia jurists this sentence is not part of the adhan: the adhan is complete without it. It is said not as a part of the adhan but with the intention of seeking nearness to Allah, and it has become a mark of the Shia.
The ruling of the maraji‘
According to the ruling of Grand Ayatullah Sayyid ‘Ali al-Sistani, “Ashhadu anna ‘Aliyyan waliyyullah” is not part of the adhan and iqamah, but it is good to say it after “Ashhadu anna Muhammadan rasulullah” with the intention of qurbah. His book of rulings al-Masa’il al-Muntakhabah says that the testimony to the wilayah of the Commander of the Faithful (a) completes the testimony to the messengership and is recommended in itself, even though it is not part of the adhan or the iqamah — like saying the salawat when the Holy Prophet’s (s) name is mentioned. (Ayatullah Sistani, Islamic Laws, ruling 905; al-Masa’il al-Muntakhabah, chapter on the adhan and iqamah)
Shia scholars of the earliest centuries wrote the same; Shaykh al-Saduq, for example, made clear in Man La Yahduruhu al-Faqih that this sentence is not among the original words of the adhan. So if someone does not say it, his adhan is valid; and whoever says it should not say it as a part of the adhan.
The intention decides
The Holy Prophet (s) said, in his well-known saying:
إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ
Actions are judged only by their intentions.
Inserting a sentence of one’s own into an act of worship as part of it is bid‘ah (innovation). But words said not as part of the worship, as a separate good remembrance, are not bid‘ah — just as someone who hears the Prophet’s (s) name during the adhan and sends salawat on him is not adding to the adhan.
The basis of this testimony
The Qur’an
إِنَّمَا وَلِيُّكُمُ اللّهُ وَرَسُولُهُ وَالَّذِينَ آمَنُواْ الَّذِينَ يُقِيمُونَ الصَّلاَةَ وَيُؤْتُونَ الزَّكَاةَ وَهُمْ رَاكِعُونَ
Your guardian (wali) is only Allah, His Messenger, and those who believe — who establish the prayer and give zakat while bowing in ruku‘. (Surah al-Ma’idah, verse 55)
According to the Shia narrations, and to narrations reported by many Sunni commentators — such as al-Tabari and al-Suyuti (al-Durr al-Manthur) — this verse was revealed about the Commander of the Faithful ‘Ali (a) when he gave his ring to a beggar while in ruku‘ during prayer.
Hadith
The Holy Prophet’s (s) declaration at Ghadir Khumm, “Whoever I am his master (mawla), ‘Ali is his master,” is reported abundantly in both Shia and Sunni books. The narrations also say that whoever bears witness to the oneness of Allah and the messengership of the Prophet (s) should mention the Commander of the Faithful (a) as well.
Why in the adhan?
Declaring belief: the adhan declares the foundations of faith — the oneness of Allah and the messengership of the Prophet (s). In Shia belief the guidance of the ummah after the Prophet (s) continues through the Imamate, so the testimony to wilayah alongside the testimony to messengership expresses that belief in full.
Love and loyalty: hearing the name of the Commander of the Faithful (a) beside the names of Allah and His Messenger (s) several times a day keeps the bond with the Ahl al-Bayt (a) alive.
Shia identity: for centuries this sentence has marked the Shia adhan; whoever hears it knows it is the adhan of the school of the Ahl al-Bayt (a).
An important clarification
This testimony is said in the adhan and iqamah, not inside the prayer. Do not add sentences of your own to the obligatory dhikr of the prayer, such as the tashahhud; check your own marja‘’s ruling on this. Nor is it correct to say that the jurists have made it obligatory in the adhan, iqamah or tashahhud: in the adhan and iqamah it is not obligatory and is said with the intention of qurbah, and it is not to be added to the tashahhud.
The words of the adhan and iqamah: Salah › Salah Questions & Answers › “What are the adhan and iqamah?” — In full: Salah › Adhan & Iqamah › “Adhan & Iqamah — The Complete Shia Method”
Sources: the Holy Qur’an; Ayatullah Sistani, Islamic Laws and al-Masa’il al-Muntakhabah, chapter on the adhan and iqamah; a reply of Ayatullah Sistani’s office, “Adhan and Iqamah”; Man La Yahduruhu al-Faqih, Bab al-Adhan wal-Iqamah; Tafsir al-Tabari and al-Durr al-Manthur on Surah al-Ma’idah, verse 55.
اَللّٰهُمَّ صَلِّ عَلٰى مُحَمَّدٍ وَّاٰلِ مُحَمَّدٍ