Common questions · Faith & observance

Is ziyarah of graves allowed in Islam, or is it shirk?

Visiting graves — ziyarah — is permitted and encouraged in Islam, and it is not shirk. The Prophet (s) told his community to visit his grave and the graves of the martyrs of Uhud, and promised his intercession to those who come. The narrations on this are recorded in the well-known Sunni collections as well as the Shia ones, so the practice is not sectarian.

Faith & observanceReviewed 2026-10

The ziyarah of graves is not a later innovation, and it is not shirk. It rests on the Prophet's (s) own instruction to his community to visit his grave, and on his promise of intercession for those who come. The journey is only the means to the ziyarah, and the means take the ruling of the end: if the ziyarah is recommended, so is the travel undertaken for it.

The narrations are found in the well-known collections — and, this is the point, not only in the Shia ones. From the Prophet (s):

من صلّى علي عند قبري سمعته

"Whoever sends blessings on me at my grave, I hear it." Ibn Hajar records it from Abu al-Shaykh's Kitab al-Thawab.

من زار قبري وجبت له شفاعتي

"Whoever visits my grave, my intercession becomes due to him." Narrated from Abdullah ibn Umar. Ibn Hajar al-Haytami notes that the wording covers men and women, near and far, and cites it as proof of the merit of travelling for the ziyarah — since the means take the ruling of the ends.

ما من أحد يسلم علي إلا ردّ الله علي روحي حتى أرد عليه السلام

"There is no one who sends salam upon me but that God returns my soul to me, so that I may return the salam to him." From Abu Hurayra, with a sound chain, in Abu Dawud.

من جاءني زائراً لم تنزعه حاجة إلا زيارتي، كان حقاً على الله تعالى أن أكون له شفيعاً يوم القيامة

"Whoever comes to me as a visitor, with no need drawing him but my ziyarah, it is a right upon God Most High that I be his intercessor on the Day of Resurrection." From al-Sharbini, the tenth-century Shafi'i scholar.

من صلى علي عند قبري، وكل الله به ملكاً يبلغني، وكفى أمر دنياه وآخرته، وكنت له شفيعاً أو شهيداً يوم القيامة

"Whoever sends blessings on me at my grave, God appoints an angel to convey it to me, and He suffices him in the affairs of his world and his hereafter, and I will be his intercessor or his witness on the Day of Resurrection."

And it was not only his own grave he told them to visit. Of the martyrs of Uhud he said:

آتوهم وزوروهم وسلّموا عليهم، والذي نفسي بيده، لا يسلّم عليهم أحد إلى يوم القيامة إلا ردّوا عليه

"Come to them, visit them, and send your salutations upon them. By the One in whose hand is my soul, no one sends salutations upon them until the Day of Resurrection but that they return it to him."

The graves are not only for ziyarah either. Of one who passes the graves of the Muslims and recites Surah al-Ikhlas for them, the Prophet (s) said:

من مرّ على المقابر وقرأ قل هو الله أحد إحدى عشر مرة ثم وهب أجره للأموات، أعطي من الأجر بعدد الأموات

"Whoever passes by the graves, recites 'Say: He is Allah, One' eleven times, and gifts its reward to the dead, is given a reward in the number of the dead."

This is why the ziyarah is not shirk. Nothing in it is worship directed at the dead. The pilgrim sends salam and du'a; it is Allah alone who hears, who returns the soul of the Prophet (s) so that he may answer, who appoints the angel to convey it, and who grants the intercession. What the narrations describe is the Prophet (s) asking his Lord on behalf of the visitor — not the visitor turning to the Prophet (s) in place of his Lord. The Prophet (s) would not have commanded an act of shirk, and this is an act he commanded and encouraged.

The Karbala guide covers the ziyarah at the shrine of Imam Husayn (a); Ziyarat Ashura is recited in full here; and where the journey is out of reach, the ziyarah from afar is performed at home. For the practical question of whether a Sunni may visit the shrine, see can Sunnis visit Karbala.

Source

Arabic hadith text quoted as given in the source compilation; translations ours. Cited there: Ibn Hajar (from Abu al-Shaykh's Kitab al-Thawab), Abdullah ibn Umar, Abu Hurayra (Abu Dawud), Ibn Hajar al-Haytami, al-Sharbini, and the Prophet's (s) instruction on visiting the martyrs of Uhud. Check the attributions against the printed collections before relying on them.

Related

Can Sunnis visit Karbala?

All common questions