Visiting graves is permitted in Islam and encouraged for men. The Prophet (SAW) said: “I forbade you to visit graves, but you may now visit them, for in visiting them there is a reminder.” The visit has a taught wording, a settled etiquette, and a few rulings that people get wrong.
The supplication the Prophet (SAW) actually taught for entering a graveyard is recorded in Sahih Muslim. It is given below in Arabic, in transliteration and in English. The shorter wording many websites print is a weak narration, and this page says so plainly.
What to Say When You Reach the Graves
There is a specific wording for this. Sulaiman ibn Buraidah narrated from his father that the Messenger of Allah (SAW) used to teach his companions what to say when they went out to the graveyard.
السَّلاَمُ عَلَيْكُمْ أَهْلَ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لاَحِقُونَ نَسْأَلُ اللَّهَ لَنَا وَلَكُمُ الْعَافِيَةَ
As-salamu alaykum ahla ad-diyari mina al-mu’minina wa al-muslimin, wa inna in sha Allahu bikum lahiqun, nas’alu Allaha lana wa lakumu al-afiyah.
“Peace be upon you, O people of these abodes, believers and Muslims. We will, if Allah wills, be joining you. We ask Allah for well-being for us and for you.”
Sahih Muslim 975, Book 11 Hadith 133. The same wording is recorded in Sunan Ibn Majah 1547, graded SAHIH.
Say it on arriving, before anything else. It is addressed to everyone buried there, not only to the person you came for.
A wording to be careful with. Many websites give a shorter supplication: “Peace be upon you, O people of the graves. May Allah forgive us and you. You are our predecessors, and we are to follow.” That wording comes from Jami at-Tirmidhi 1053, which is graded DA’IF, meaning weak. A weak narration may be mentioned, but it should not be presented as the taught supplication when an authentic one exists. Use the wording above.
After the salam, make dua for the person in your own words. There is no fixed second text. If you want the method, see how to make dua. Note that this is a different supplication from the one said in the funeral prayer, which is set out on the page for the janaza dua.
Is visiting graves allowed in Islam?
Yes. It was forbidden in the early years of Islam, when the memory of pre-Islamic grave practices was still fresh, and the prohibition was then lifted.
The Messenger of Allah (SAW) said: “I forbade you to visit graves, but you may now visit them, for in visiting them there is a reminder.”
Sunan Abi Dawud 3235, narrated by Buraidah, graded SAHIH. The same report appears in Sahih Muslim 977.
The reason given in the hadith is the reason to go: it reminds you of death. The Quran puts the same scene in front of the reader.
وَنُفِخَ فِى ٱلصُّورِ فَإِذَا هُم مِّنَ ٱلْأَجْدَاثِ إِلَىٰ رَبِّهِمْ يَنسِلُونَ
“And the Trumpet will be blown, and at once from the graves they will hasten to their Lord.”
Quran 36:51, Surah Yasin. Arabic from a verified Hafs mushaf, cross-checked against a second mushaf dataset.
The grave is a stage, not an end. What happens in it, and what follows, is covered on the page for the stages of life after death.
What to Do at the Graveside
The visit is short and quiet. There is no ritual to perform.
- Give the salam in the wording above, as you enter.
- Make dua for the deceased. Ask for forgiveness and mercy for them. This is the main purpose of the visit.
- Reflect. The hadith names the reminder of death as the benefit. Give it a moment rather than treating the visit as an errand.
- Dress plainly. A graveyard is not a place for display. Women observe hijab as they would anywhere outside the home, which is set out on the page about the importance of hijab.
- Keep your voice down and keep the visit brief.
Quran recitation at the graveside is practised across the Muslim world and the four schools differ on it. The Hanafi, Maliki in the later view, and Hanbali schools consider it permissible and beneficial. Some scholars hold that dua is the stronger practice because it is what the hadith names. Either way, the recitation itself carries reward, as set out in the page on the benefits of reciting Quran.
What to avoid
Three things are worth separating, because people confuse them.
| Action | Ruling | Why |
|---|---|---|
| Greeting the dead with salam, and making dua for them | Sunnah | Taught by the Prophet (SAW) in Sahih Muslim 975 |
| Speaking to the dead as conversation, or asking of them | Not permitted | Requests for help, rizq or healing are directed to Allah alone |
| Wailing, striking the face, tearing clothing | Forbidden | Quiet tears are permitted. Loud lamentation is not |
The distinction in the first two rows is the one most often missed. Addressing the dead with peace, as the Prophet (SAW) taught, is not the same as asking them for anything. Grief itself is not the problem; its handling is, and the ground for that is covered under patience in Islam.
Can Women visit Graves?
This is a real disagreement among scholars, not a settled question, and pages that present it as settled in either direction are not reporting the evidence accurately.
The evidence that restricts it. Abu Hurairah narrated that the Messenger of Allah (SAW) cursed zawwarat al-qubur, recorded in Jami at-Tirmidhi 1056 and graded HASAN SAHIH. A similar report from Hassan ibn Thabit is in Sunan Ibn Majah 1574, graded HASAN.
The evidence that permits it. Aisha (RA) followed the Prophet (SAW) to the graveyard of al-Baqi and later asked him what to say when visiting graves, recorded in Sunan an-Nasa’i 2037 and graded SAHIH. The general permission in Sahih Muslim 977 is addressed to the community, not to men only.
How scholars reconcile them. Imam at-Tirmidhi records both readings in his own commentary on the hadith. Some scholars held that the curse belongs to the period before visiting was permitted and that when it was permitted, men and women both entered the permission. Others held that it remains disliked for women because of the difficulty of composure at the graveside. The word ‘zawwarat’ is an intensive form, meaning ‘women who visit often, and several scholars read the prohibition as directed at excess rather than at the visit itself.
| Position | Ruling given | Source |
|---|---|---|
| Hanafi | Permitted for elderly women. Disliked for young women. Not to be done to renew grief or to weep and wail | Darul Ifta Birmingham, answered by Imam Abdul-Malik Sheikh, approved by Mufti Mohammed Tosir Miah, citing Radd al-Muhtar 2:242 |
| Shafi’i | The official view is disliked but not unlawful. Permitted where composure and hijab are kept and there is no mixing | SeekersGuidance, answered by Shaykh Irshaad Sedick, approved by Shaykh Faraz Rabbani, citing Imam an-Nawawi in al-Majmu’ |
SCHOOLS DIFFER. Both answers above allow the visit under conditions, and both treat composure as the deciding factor. A woman following a particular school should follow the ruling of that school, and where family or local practice differs, a local scholar is the right person to ask.
Building, plastering and decorating graves
This is where the clearest text sits.
Jabir (RA) reported that the Messenger of Allah (SAW) forbade that a grave be plastered, that it be sat upon, and that anything be built over it.
Sahih Muslim 970a, Book 11 Hadith 121.
Three separate prohibitions in one narration: plastering or cementing the grave, sitting on it, and constructing over it. The reasoning scholars give is consistent. A grave raised, decorated or built over invites a level of attention that belongs to Allah alone, and over time the structure becomes the point rather than the reminder.
This is why a Muslim grave is normally a raised mound of earth with a simple marker and no more. Equality in death is part of the point: the grave of a wealthy person and the grave of a poor person should be hard to tell apart.
Domed shrines and mausoleums built over the graves of scholars and righteous people exist across the Muslim world and are defended by some on historical grounds. The hadith above is explicit, and the mainstream position in all four schools is that construction over graves should not be built and that existing structures do not make the practice recommended.
Lights, ornamental tiles, permanent floral displays and inscriptions beyond a name fall under the same reasoning. None of this is a judgement on the people who do it, much of which is custom inherited without being examined.
Sitting and walking on graves
Abu Hurairah (RA) reported that the Prophet (SAW) said: “It is better that one of you should sit on live coals, which would burn his clothing and reach his skin, than that he should sit on a grave.”
Sahih Muslim 971a, Book 11 Hadith 124.
Walk on the paths between graves. Where a graveyard is crowded and there is no clear path, step carefully and do not stand on a grave to reach another one.
Flowers, Branches and What to Leave
The question comes up constantly, usually because of a hadith about a palm branch.
Ibn Abbas (RA) reported that the Prophet (SAW) passed two graves whose occupants were being punished, took a green palm branch, split it in two and placed one piece on each grave, saying that he hoped their punishment might be lessened while the branches remained fresh.
Sahih al-Bukhari 1361.
Scholars differ on what follows from this. One group holds that the Prophet (SAW) knew by revelation that those two were being punished, so the act was specific to that moment and is not a general practice. Another group holds that it shows a general benefit and permits placing greenery. What no scholar derives from it is a requirement, and nothing in it establishes bouquets, wreaths or permanent displays as a practice of Islam.
The clearer answer to “what can I do for them” is not an object. It is dua, settling their debts, and sadaqah given on their behalf, which continues to benefit them after death. That category is set out on the page about sadaqah jariyah.
When to Visit, and the Friday Question
Any day, at any reasonable hour. No day of the week is fixed in an authentic narration.
Friday is widely preferred, and some scholars did prefer it. But the report most often quoted for it, that Fatimah (RA) visited the grave of Hamzah (RA) every Friday, is a weak narration, and the statement that the deceased are aware of visitors on Friday is attributed to Muhammad ibn Wasi rather than to the Prophet (SAW). Visiting on a Friday is fine. Believing that Friday is prescribed, or that a visit on another day is worth less, is not supported.
Visiting at night is not prohibited. Some scholars discouraged it on grounds of safety and the risk of disturbing others rather than on a text.
Fixed annual gatherings at the grave on a death anniversary, and the treatment of a visit as an obligation on specific dates, are customs rather than established practice. The reasoning there is the same as for gatherings on the third day after a death, which is covered on the page for Islamic burial.
Does the deceased know you are there?
Two different questions get merged here, and separating them helps.
Does the dua reach them? Yes. Dua for the dead, sadaqah on their behalf and settling their debts are agreed to benefit them. This is not disputed.
Are they aware of the visitor? This belongs to the unseen, and scholars differ. What is established is that the deceased perceives something immediately after burial.
Anas (RA) reported that the Prophet (SAW) said: “When a person is laid in his grave and his companions turn away, he hears the sound of their sandals. Two angels come to him and make him sit up…”
Sahih al-Bukhari 1338.
That narration describes the questioning in the grave rather than awareness of later visits. The angels named in it are covered on the page about Munkar and Nakir. Beyond this, reports about the dead hearing or recognising visitors are debated, and the honest position is that it is not settled. The visit is worth making either way, because its stated purpose in the hadith is the effect on the living.
أَيَحْسَبُ ٱلْإِنسَٰنُ أَلَّن نَّجْمَعَ عِظَامَهُۥ
بَلَىٰ قَٰدِرِينَ عَلَىٰٓ أَن نُّسَوِّىَ بَنَانَهُۥ
“Does man think that We will not assemble his bones? Yes. We are able to restore even his fingertips.”
Quran 75:3 and 75:4, Surah al-Qiyamah. Arabic from a verified Hafs mushaf, cross-checked against a second mushaf dataset.
Questions About Visiting Graves in Islam
What do you say when you visit a grave in Islam?
Begin with the salam taught in Sahih Muslim 975: “As-salamu alaykum ahla ad-diyari mina al-mu’minina wa al-muslimin, wa inna in sha Allahu bikum lahiqun, nas’alu Allaha lana wa lakumu al-afiyah.” Then make dua for the deceased in your own words.
Can women visit graves in Islam?
Scholars differ. The Hanafi position permits it for elderly women and considers it disliked for young women. The Shafi’i official view is that it is disliked but not unlawful, and permitted where composure and hijab are kept. Both sides rest on authentic narrations, so follow your school or ask a local scholar.
Is it allowed to put flowers on a Muslim grave?
It is not an established practice of Islam. The hadith about the palm branch in Sahih al-Bukhari 1361 is read by many scholars as specific to that incident. Flowers are not sinful in themselves in most rulings, but they are custom, not sunnah, and dua or sadaqah benefits the deceased in a way that flowers do not.
Can you build a structure over a grave?
No. Sahih Muslim 970a records the prohibition of plastering a grave, sitting on it and building over it. The mainstream position in all four schools is against construction over graves.
Is it wrong to sit on a grave?
Yes. Sahih Muslim 971a gives a severe warning against it. Walk on the paths between graves rather than across them.
Is Friday special for visiting graves?
No day is fixed in an authentic narration. Some scholars preferred Friday, but the report usually quoted for it is weak. Visiting on a Friday is fine, and visiting on any other day is not worth less.
Can you visit a graveyard at night?
There is no prohibition. Some scholars discouraged it for reasons of safety and consideration for others, not on the basis of a text.
Can a Muslim visit the grave of a non-Muslim relative?
The visit itself is permitted, and the Prophet (SAW) visited his mother’s grave. Dua for forgiveness for a person who died outside Islam is not made. The reminder of death, which is the stated purpose of visiting, applies.
Should children be taken to a graveyard?
There is no prohibition. It is left to the parent’s judgement, taking account of the child’s age and how they are likely to react.
How often should you visit?
No number is prescribed. The benefit named in the hadith is the reminder of death, which argues for regularity rather than frequency.







