Rulings Regarding Funerals: Method of Ghusl, Kafan, Funeral Prayer, and Burial

اردو میں پڑھیں
Font size:
Juristic Rulings and Issues in the Light of the Qur’an and Hadith, Rulings and Issues of Prayer: Volume 01: Page 250

Question

Peace be upon you, and the mercy of Allah and His blessings

The answer, with the help of the Bestower, provided the question is sound

And peace be upon you, and the mercy of Allah and His blessings!

الحمد لله، والصلاة والسلام علىٰ رسول الله، أما بعد!

All praise is due to Allah, who has granted us a Shariah that encompasses all the interests of a human being in life and after death. Among these are the rulings of the funeral which Allah the Almighty has enacted, and which relate to a person from his illness to his death, and then to his burial in the grave. That is: visiting the sick, prompting him with the words of sincerity, washing, shrouding, the funeral prayer, and the rulings of burial; and included within this are matters such as repaying debts, executing the will, dividing the estate, and caring for and guarding the weak and helpless children.

The comprehensiveness of the Prophetic guidance on the funeral

Imam Ibn al-Qayyim (may Allah have mercy on him) said:
“Regarding the funeral and all matters connected with it, the Messenger of Allah ﷺ gave complete guidance that distinguishes us from other nations. It comprises worship of Allah the Almighty in all circumstances, and also comprises doing good to the deceased and dealing with him in a way that benefits him in the grave and in the Hereafter. For example: visiting the sick, prompting the deceased with the good word, cleansing him, and taking him to the graveyard with courtesy and respect. Then the deceased’s Muslim brothers form rows and stand before their Lord to perform his funeral prayer, they praise and glorify Allah the Almighty, they send blessings upon the Prophet ﷺ, then they supplicate to Allah the Almighty for the deceased’s forgiveness, mercy and pardon. Then they stand at his grave and supplicate for him to be made steadfast at the time of the trial of the grave. Besides this, his grave is visited from time to time and supplication is made. In all these matters he is cared for just as a person cares for his companion in life, and then kindness and goodness are shown to his family, relatives and others.”

Reference: Zad al-Ma’ad 1/498. With slight adaptation.

Remembering death and preparing for the Hereafter

It is the Sunnah that every Muslim remember death often, repent from sins and acts of disobedience, prepare for the Hereafter, return the rights of those whose rights he has usurped through wrongdoing and oppression, and remain occupied with righteous deeds before death strikes suddenly. The Prophet ﷺ said:

“أَكْثِرُوا ذِكْرَ هادم اللَّذَّاتِ”

“Remember often the destroyer of pleasures (death).”

Reference: Jami’ al-Tirmidhi, al-Zuhd, Bab ma ja’a fi dhikr al-mawt, hadith 2307, 2460; Sunan al-Nasa’i, al-Jana’iz, Bab kathrat dhikr al-mawt, hadith 1925; Sunan Ibn Majah, al-Dhikr, Bab al-mawt wa al-isti’dad lahu, hadith 4258; Musnad Ahmad 2/292-293

It is narrated from Ibn Mas’ud (may Allah the Almighty be pleased with him) that the Messenger of Allah ﷺ said:

“عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: اسْتَحْيُوا مِنْ اللَّهِ حَقَّ الْحَيَاءِ، قَالَ: قُلْنَا: يَا رَسُولَ اللَّهِ، إِنَّا نَسْتَحْيِي وَالْحَمْدُ لِلَّهِ، قَالَ لَيْسَ ذَاكَ، وَلَكِنَّ الاسْتِحْيَاءَ مِنْ اللَّهِ حَقَّ الْحَيَاءِ: أَنْ تَحْفَظَ الرَّأْسَ وَمَا وَعَى، وَالْبَطْنَ وَمَا حَوَى، وَلْتَذْكُرْ الْمَوْتَ وَالْبِلَى وَمَنْ أَرَادَ الآخِرَةَ تَرَكَ زِينَةَ الدُّنْيَا فَمَنْ فَعَلَ ذَلِكَ فَقَدْ اسْتَحْيَا مِنْ اللَّهِ حَقَّ الْحَيَاءِ”

“Be modest before Allah the Almighty as is His due. The noble Companions (may Allah be pleased with them all) said: O Prophet of Allah ﷺ! We are modest before Allah the Almighty, and thanks be to Allah. He ﷺ said: It is not like that; rather, whoever is modest before Allah the Almighty as is His due should protect the head and what it contains (thought), and should take care of the stomach and what it has gathered (that nothing forbidden enters it). He should remember death and decay. Whoever seeks the Hereafter abandons the adornment of this world. Whoever does that has been modest before Allah the Almighty as is His due.”

Reference: (Da’if) Jami’ al-Tirmidhi, Sifat al-Qiyamah, Bab fi bayan ma yaqdihi al-istihya’ min Allah haqq al-haya’, hadith 2458; Da’if al-Jami’ al-Saghir wa Ziyadatuhu, hadith 805, 806

Rulings concerning the sick and the one nearing death

Patience in illness and supplicating before Allah

When a person is afflicted with illness, he should be patient, intending reward, should not wail or lament, and should not express displeasure at the decree and destiny of Allah the Almighty. However, there is no harm if he tells someone the nature or cause of the illness, but in every case he should remain content with the decision of Allah the Almighty. Complaining about the illness before Allah the Almighty and supplicating for healing is not contrary to patience; rather, it is legally sought and recommended. Ayyub (peace be upon him) supplicated thus:

﴿أَنّى مَسَّنِىَ الضُّرُّ وَأَنتَ أَرحَمُ الرّ‌ٰحِمينَ ﴿٨٣﴾… سورة الأنبياء﴾

“(O my Lord!) Indeed, this illness has afflicted me, and You are the Most Merciful of the merciful.”

Reference: Al-Anbiya’ 21:83

Treatment and medication, and avoiding forbidden things

There is no harm in seeking treatment through permissible medicines; rather, some scholars consider it necessary and some hold it to be obligatory. Numerous hadiths show that treatment is not contrary to reliance on Allah, just as eating and drinking to remove hunger and thirst is not contrary to reliance on Allah.

Treatment through forbidden things is absolutely not permissible. Ibn Mas’ud (may Allah the Almighty be pleased with him) said regarding an intoxicating substance:

“إنَّ اللَّهَ لَمْ يَجْعَلْ شِفَاءَكُمْ فِيمَا حَرَّمَ عَلَيْكُمْ “

“Allah the Almighty has not placed your healing in what He has forbidden to you.”

Reference: Narrated by al-Bukhari as a mu’allaq report, al-Ashribah, Bab sharab al-halwa’ wa al-‘asal, before hadith 5641

It is narrated from Abu Hurayrah (may Allah the Almighty be pleased with him) that the Messenger of Allah ﷺ said:

“إِنَّ اللَّهَ أَنْزَلَ الدَّاءَ وَالدَّوَاءَ وَجَعَلَ لِكُلِّ دَاءٍ دَوَاءً ، فَتَدَاوَوْا وَلاَ تَدَاوَوْا بِحَرَامٍ “

“Allah the Almighty has sent down the disease and the cure, and has appointed a cure for every disease, so seek treatment, but do not treat yourselves with forbidden things.”

Reference: (Da’if chain) Sunan Abi Dawud, al-Tibb, Bab fi al-adwiyah al-makruhah, hadith 3874

In Sahih Muslim, he said regarding wine:

“إِنَّهُ لَيْسَ بِدَوَاءٍ وَلَكِنَّهُ دَاءٌ”

“It is not a medicine; rather, it is a disease.”

Reference: Sahih Muslim, al-Ashribah, Bab tahrim al-tadawi bi al-khamr wa bayan annaha laysat bi-dawa’, hadith 1984

Treating illness with things that contradict the creed of Islam is absolutely forbidden: such as amulets containing shirk or unknown words, beads, threads, necklaces, bracelets for the arm or wrist, and the like, wearing them while believing they bring cure or ward off harm. All of these are forbidden, because the heart’s attachment for benefit and harm becomes connected to something other than Allah, so these are shirk or means leading to shirk. Likewise, treatment through soothsayers, astrologers, magicians, and those who take service from the jinn is also forbidden. For a Muslim, creed is even more important than health. Allah has placed healing in permissible things that are beneficial for the body, the mind and the religion. The most important thing is to perform ruqya with the Noble Qur’an and the masnun supplications.

Imam Ibn al-Qayyim (may Allah have mercy on him) says:
“The best treatment is dhikr and supplication, along with pleading to Allah and repenting and seeking forgiveness. Their effect is greater than the effect of medicines, but it depends on how prepared the human soul is for it and how far it accepts it.”

Reference: Zad al-Ma’ad 4/144

Along with this, there is also no harm in being treated with permissible medicines by skilled doctors in hospitals and the like.

The ruling on visiting the sick and its etiquette

Visiting the sick is masnun. The Messenger of Allah ﷺ said:

“خَمْس تَجِب لِلْمُسْلِمِ عَلَى أَخِيهِ “

“A Muslim has five rights over another Muslim.”

Reference: Sahih al-Bukhari, Kitab al-Janaiz, Bab al-Amr bi-Ittiba’ al-Janaiz, hadith 1240; Sahih Muslim, Kitab al-Salam, Bab Min Haqq al-Muslim lil-Muslim Radd al-Salam, hadith 2162

One of these rights is visiting the sick person. During the visit, the sick person’s condition should be asked about. The Prophet ﷺ would go close to the patient and ask about his condition. The visit can be made after leaving one day or two days between visits, though if the patient wishes, it can even be daily. One should not sit for a long time without the patient’s desire, and it should be said:

“لا بَأْسَ طَهُورٌ إنْ شَاءَ اللهُ”

“No harm; it is a purification, if Allah wills (this illness will purify you of sins).”

Reference: Sahih al-Bukhari, Kitab al-Tawhid, Bab fi al-Mashi’a wa al-Irada, hadith 7470

One should say things in the presence of the patient that make him happy, supplicate for healing, and perform ruqya with Qur’anic verses, especially by reciting Surah al-Fatiha, al-Ikhlas and the Mu’awwidhatayn.

Writing a will and informing about debts/trusts

It is also masnun for the patient to make a will about his wealth, that it be spent on good deeds. If he has a debt or people’s trusts are with him, he should inform the heirs. Rather, concern for this is necessary even in health, because the Messenger of Allah ﷺ said:

“مَا حَقُّ امْرِئٍ مُسْلِمٍ ، لَهُ شَيْءٌ يُوصَى فِيهِ ، يَبِيتُ لَيْلَتَيْنِ إِلَّا وَوَصِيَّتُهُ عِنْدَهُ مَكْتُوبَةٌ “

“It is the right of every Muslim person who wants to make a will not to let two nights pass without his will being written and kept with him.”

Reference: Sahih al-Bukhari, Kitab al-Wasaya, hadith 2738; Sahih Muslim, Kitab al-Wasiyya, Bab Wasiyyat al-Rajul Maktuba ‘Indahu, hadith 1627

The mention of two nights in the hadith is for emphasis, not to set a limit; the meaning is that the will should be written, because the time of death is not known.

Having a good opinion of Allah

The sick person should have a good opinion of Allah:

“أَنَا عِنْدَ ظَنِّ عَبْدِي بِي”

“I deal with My servant according to his expectation of Me.”

Reference: Sahih al-Bukhari, Kitab al-Tawhid, Bab Qawl Allah Ta’ala: “Wa Yuhadhdhirukumullahu Nafsahu”, hadith 7405; Sahih Muslim, Kitab al-Dhikr wa al-Du’a wa al-Tawba, Bab Fadl al-Dhikr al-Du’a, hadith 2675

When a servant senses that he is going to his Creator, the need for a good opinion increases. The person near death should be given hope in Allah’s mercy, until hope prevails over fear. However, in a state of health, hope and fear should remain equal.

Prompting the shahada, turning toward the qibla, and Surah Ya Sin

The person near death should be prompted with “لَا إِلَهَ إِلَّا اللَّهُ“, because the Messenger of Allah ﷺ said:

“لَقِّنُوا مَوْتَاكُمْ لَا إِلَهَ إِلَّا اللَّهُ”

“Prompt your dying ones with لَا إِلَهَ إِلَّا اللَّهُ.”

Reference: Sahih Muslim, Kitab al-Janaiz, Bab Talqin al-Mawta La Ilaha Illallah, hadith 916

The aim is that death occur upon the word of sincerity and that it be his last speech. It is narrated from Mu’adh ibn Jabal (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

“مَنْ كَانَ آخِرُ كَلامِهِ لا إِلَهَ إِلا اللَّهُ دَخَلَ الْجَنَّةَ “

“Whoever’s last words are la ilaha illallah will enter Paradise.”

Reference: Sunan Abi Dawud, Kitab al-Janaiz, Bab fi al-Talqin, hadith 3116

The prompting should be done gently and lovingly, without much insistence, lest he refuse due to the severity of the suffering. He should be turned toward the qibla.

Surah Ya Sin should be recited near the one who is dying, because the saying is:

“اقْرَءُوا يس عَلَى مَوْتَاكُمْ”

“Recite Surah Ya Sin over your dying ones.”

Reference: (Da’if) Sunan Abi Dawud, Kitab al-Janaiz, Bab al-Qira’a ‘Inda al-Mayyit, hadith 3121; Sunan Ibn Majah, Kitab al-Janaiz, Bab Ma Ja’a fima Yuqal ‘Inda al-Marad Idha Hadar, hadith 1448

Note: reciting Surah Ya Sin near the deceased after death is a bid’ah, whereas reciting it near the one who is dying has been described as masnun. Likewise, reciting Surah Ya Sin and the like at the time of the funeral, at the grave, or for conveying reward is a bid’ah, because there is no evidence for it in the Book and the Sunnah.

Reference: The narration about reciting Surah Ya Sin near the one who is dying is extremely da’if (weak). (Sarim)

Rulings of death

When a person’s death becomes certain, it is recommended that his eyes be closed. It is reported about Abu Salama (may Allah be pleased with him) that the Prophet ﷺ closed his eyes and said:

“إِنَّ الرُّوحَ إِذَا قُبِضَ تَبِعَهُ الْبَصَرُ»، فَضَجَّ نَاسٌ مِنْ أَهْلِهِ، فَقَالَ: «لَا تَدْعُوا عَلَى أَنْفُسِكُمْ إِلَّا بِخَيْرٍ، فَإِنَّ الْمَلَائِكَةَ يُؤَمِّنُونَ عَلَى مَا تَقُولُونَ”

“When the soul is taken, the sight follows it. Then some of the people of his household began to cry out, so the Prophet ﷺ said: Do not say anything about yourselves except good, for the angels say Amin to what you say.”

Reference: Sahih Muslim, Kitab al-Janaiz, Bab fi Ighmad al-Mayyit wa al-Du’a lahu Idha Hadar, hadith 920

After death, the deceased should be covered. Aisha (may Allah be pleased with her) says:

“أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حِينَ تُوَفِّيَ سُجِّيَ بِبُرْدِ حِبَرَةٍ “

“When the Prophet ﷺ passed away, his blessed body was covered with a striped Yemeni cloak.”

Reference: Sahih al-Bukhari, Kitab al-Libas, Bab al-Burud wa al-Hibara wa al-Shamla, hadith 5814

When death has occurred, there should be no delay in the preparation and shrouding:

“لاَ يَنْبَغِي لجِيفَةِ مُسْلِمٍ أنْ تُحْبَسَ بَيْنَ ظَهْرَانَيْ أَهْلِهِ”

“The body of a Muslim should not be kept for a long time among his family.”

Reference: (Da’if) Sunan Abi Dawud, Kitab al-Jana’iz, Bab Ta’jil al-Janazah wa Karahiyat Habsiha, hadith 3159

The wisdom in this is that the deceased is protected from change and decay. Imam Ahmad (may Allah have mercy on him) said: “The honour and respect of the deceased lies in taking him quickly to the graveyard.”

Reference: Al-Mughni wa al-Sharh al-Kabir 2/310

If there is no fear of the body’s condition changing and the relatives are nearby, they may be waited for.

Announcing the death of a Muslim is permissible, so that preparations are made quickly, attendance at the funeral prayer is greater, and people join in the supplication. But announcing it with wailing, or with boasting and exaggeration, is Jahiliyyah. Likewise, condolence gatherings and mourning assemblies are a return to Jahiliyyah.

It is recommended to carry out bequests quickly so that the deceased receives the reward soon. In the Qur’an the bequest is mentioned before the debt, with the aim of making its importance clear. However, in light of the narration of Ali (may Allah be pleased with him), according to the ruling of the Prophet ﷺ, the debt takes precedence over the bequest.

Reference: Jami’ al-Tirmidhi, Kitab al-Fara’id, Bab Ma Ja’a fi Mirath al-Ikhwah, hadith 2094; (Sarim)

After the bequest (and in accordance with the order set by the Shari’ah), the debts of the deceased should be paid quickly, whether they are the rights of Allah, such as zakah, Hajj, a permissible vow or an expiation; or the rights of people, such as trusts, and things that were usurped or borrowed. Whether the deceased made a bequest or not, payment is necessary in any case. The Prophet ﷺ said:

“نَفْسُ الْمُؤْمِنِ مُعَلَّقَةٌ بِدَيْنِهِ حَتَّى يُقْضَى عَنْهُ”

“The soul of the believer remains suspended by his debt until it is paid on his behalf.”

Reference: Jami’ al-Tirmidhi, Kitab al-Jana’iz, Bab Ma Ja’a anna Nafs al-Mu’min Mu’allaqah bi-Daynihi, hadith 1078; Musnad Ahmad 2/440

In this context, the incident of the funeral of an indebted man and the details of the payment of the debt/guarantee are also reported.

Reference: Sahih al-Bukhari, hadith 2289; Sunan Abi Dawud, hadith 2054; (Sarim)

If the deceased has no wealth and had a firm intention to repay, Allah the Exalted pays it on his behalf.

Reference: Sahih al-Bukhari, Kitab al-Istiqrad, Bab Man Akhadha Amwal al-Nas Yurid Ada’aha aw Itlafaha, hadith 2387

The Method and Rulings of Washing the Deceased

Among the rulings of the funeral is that the deceased should be washed by a person who knows the method and is able to do it. When a man fell from his she-camel and died, the Prophet ﷺ said:

“اغْسِلُوهُ بِمَاءٍ وَسِدْرٍ”

“Wash him with water and lote-tree leaves.”

Reference: Sahih al-Bukhari, Kitab al-Jana’iz, Bab al-Kafan fi Thawbayn, hadith 1265; Sahih Muslim, Kitab al-Hajj, Bab Ma Yuf’al bi al-Muhrim Idha Mat?, hadith 1206

The washing of the deceased has continued among the Muslims by uninterrupted transmission (tawatur). The Messenger of Allah ﷺ too was washed after his death, even though he was pure outwardly and inwardly; so why should another Muslim not be washed? Washing the deceased is a communal obligation (fard kifayah) upon those who come to know of the death.

Who Should Wash the Deceased

① If the deceased is a man, a man should wash him. It is better that he be a trustworthy person who knows the rulings. If the deceased appointed a particular person in his bequest, that person should be given the opportunity, provided he is trustworthy. Abu Bakr al-Siddiq (may Allah be pleased with him) made a bequest that his wife Asma bint Umays (may Allah be pleased with her) wash him.

Reference: (Da’if) Al-Muwatta’ of Imam Malik, Kitab al-Jana’iz, Bab Ghusl al-Mayyit, hadith 3; Al-Mughni wa al-Sharh al-Kabir 2/308-311; Irwa’ al-Ghalil, hadith 696

From this the permissibility of a wife washing her husband is established. Likewise, it is permissible for a man to wash his deceased wife, just as Ali (may Allah be pleased with him) washed Fatimah (may Allah be pleased with her).

Reference: Al-Mustadrak of al-Hakim, Ma’rifat al-Sahabah 3/163-164, hadith 4769

Anas (may Allah be pleased with him) made a bequest that Muhammad ibn Sirin (may Allah have mercy on him) wash him.

Reference: Al-Mughni wa al-Sharh 2/308; Shaykh al-Albani said: I have not come across its chain of narration, Irwa’ al-Ghalil, hadith 697

② If there is no bequest, the father should wash him, then the grandfather, then the ‘asabat (the male agnatic relatives: brothers, paternal uncles, etc.). If there is none of them, or they do not know the method, any outsider who knows the method may wash him.

③ If the deceased is a woman, a woman should wash her. If the woman named in the bequest knows the method, she is better; otherwise, a woman from among the relatives who knows the method.

④ A boy or girl younger than seven years may be washed by either a man or a woman. Ibn al-Mundhir (may Allah have mercy on him) said that the scholars are agreed that a woman may wash a small boy, because even in his lifetime there is no issue of ‘awrah (the parts of the body that must be covered).

Reference: Al-Mughni wa al-Sharh al-Kabir 2/313

And it is mentioned that when Ibrahim, the son of the Messenger of Allah ﷺ (peace be upon him), passed away, women washed him.

Reference: Manar al-Sabil p. 147; Shaykh al-Albani said in Irwa’ al-Ghalil 3/163: I have not come across it

⑤ A woman should not wash a boy of seven years or older, and a man should not wash a girl of seven years or older.

The Ruling Concerning the Body of a Disbeliever

It is not permissible for a Muslim to wash a dead disbeliever, carry his bier, shroud him, pray over him, or take part in his funeral. Allah the Exalted says:

﴿يـٰأَيُّهَا الَّذينَ ءامَنوا لا تَتَوَلَّوا قَومًا غَضِبَ اللَّهُ عَلَيهِم …﴿١٣﴾… سورة الممتحنة﴾

“O Muslims! Do not take as friends a people with whom Allah is angry.”

Reference: Al-Mumtahanah 60:13

And He said:

﴿وَلا تُصَلِّ عَلىٰ أَحَدٍ مِنهُم ماتَ أَبَدًا وَلا تَقُم عَلىٰ قَبرِهِ إِنَّهُم كَفَروا بِاللَّهِ … ﴿٨٤﴾… سورة التوبة﴾

“If any of them dies, never pray the funeral prayer over him, and do not stand at his grave; they disbelieve in Allah and His Messenger.”

Reference: Al-Tawbah 9:84

And He said:

﴿ما كانَ لِلنَّبِىِّ وَالَّذينَ ءامَنوا أَن يَستَغفِروا لِلمُشرِكينَ …﴿١١٣﴾… سورة التوبة﴾

“It is not permissible for the Prophet and the other Muslims to pray for forgiveness for the polytheists.”

Reference: Al-Tawbah 9:113

It is also not permissible for a Muslim to bury a disbeliever; but if there is no one else to bury him, he may dig a pit in the ground and cover the corpse, so that the living are not harmed by the stench and corruption. The incident of the disbelievers of Badr being thrown into the well is well known. The same ruling applies to an apostate (for example, one who deliberately abandons the prayer) or one who commits an innovation that amounts to disbelief. The stance of a Muslim toward a disbeliever, living or dead, should be one of hatred and disavowal, as the stance of Ibrahim (peace be upon him) and the believers was described:

﴿إِذ قالوا لِقَومِهِم إِنّا بُرَء‌ٰؤُا۟ مِنكُم وَمِمّا تَعبُدونَ مِن دونِ اللَّهِ كَفَرنا بِكُم وَبَدا بَينَنا وَبَينَكُمُ العَد‌ٰوَةُ وَالبَغضاءُ أَبَدًا حَتّىٰ تُؤمِنوا بِاللَّهِ وَحدَهُ…﴿٤﴾… سورة الممتحنة﴾

“When they said to their people: We are free of you and of those you worship besides Allah… enmity and hatred have appeared between us and you forever…”

Reference: Al-Mumtahanah 60:4

And He said:

﴿لا تَجِدُ قَومًا يُؤمِنونَ بِاللَّهِ وَاليَومِ الءاخِرِ يُوادّونَ مَن حادَّ اللَّهَ وَرَسولَهُ وَلَو كانوا ءاباءَهُم أَو أَبناءَهُم أَو إِخو‌ٰنَهُم أَو عَشيرَتَهُم… ﴿٢٢﴾… سورة المجادلة﴾

“Those who believe in Allah and the Last Day do not hold love for those who oppose Allah and His Messenger…”

Reference: Al-Mujadilah 58:22

Water and place for the ghusl

The water for the ghusl should be pure, clean and cold; heating it is permissible to remove dirt or in severe cold. The ghusl should be done in a place protected from sight: in a house under a roof, or in a tent and the like. Before the ghusl, the part from the navel to the knees must be covered with a cloth; then the clothes are removed and the body is laid on a board that is slightly lower toward the feet, so that the water flows toward the feet. Only the person giving the ghusl and his assistants should be in the place of the ghusl, not additional people.

Method of the ghusl

The person giving the ghusl should raise the head of the deceased slightly and gently pass his hand over the stomach with light pressure so that the impurity comes out, while pouring water so that it does not remain. Then, with a cotton/cloth mitt put on his hands, he should clean the private parts. Then he should make the intention for the ghusl, say Bismillah, and perform wudu for him as in the prayer, except that rinsing the mouth and putting water in the nose is not required; wiping the mouth/nose with a wet hand or damp cloth is sufficient. Then he should wash the head and beard with water containing lote-tree leaves or with soap. Then he should wash the right side: neck, shoulder, arm, hand, then down to the feet; then turn him onto the left side and wash the right side of the back; then wash the left side; then turn him onto the right side and wash the left side of the back. Lote-tree leaves or soap should be used, and it is better to keep the mitt on the hand.

If cleanliness is achieved, once is sufficient, but pouring water three times is recommended. If it is not clean even with three, he may be washed up to seven times. Camphor should be added to the water the last time, because it is fragrant and gives coolness and its effect lasts a long time.

After the ghusl, the body should be dried, the moustache trimmed, the nails clipped if they are long, and the armpit hair removed.

Reference: Al-Mughni al-Kabir 2/324-325

If it is a woman, the hair of the head should be made into three braids and placed behind her.

If there is no water, or there is fear that water would damage the body (for example a burnt body, leprosy and the like), or the deceased is a woman among men and neither a husband nor a woman is present, or the deceased is a man among women and neither a wife nor a man is present, then tayammum should be performed for the deceased: the one performing the wiping wraps a cloth around his hand and wipes the face and palms. If it is not possible to wash some parts, the parts that are possible are washed and the rest is wiped over. For the one who gave the ghusl, taking a ghusl himself is recommended, not obligatory.

Rulings on shrouding

After the ghusl and drying, the deceased should be shrouded. The shroud should be of cloths that cover the whole body well and are clean; new and white cloths are recommended, and washed ones are also valid.

Shrouding in one cloth is obligatory provided it covers the whole body, while three cloths for a man and five for a woman are said to be recommended: for a woman, a waist wrapper, a head covering, a shirt and two large sheets. It is recommended to sprinkle rose water on the shroud and to perfume it with incense (frankincense and the like) so that the effect remains.

Reference: The difference between three cloths for a man and five for a woman in the shroud is not established by an authentic hadith; therefore shrouding in three cloths, in which no shirt is mentioned, is what is recommended.

Method of shrouding

Take three sheets and spread them one on top of the other. The deceased should be brought in such a way that the necessary private parts are covered, and laid on his back on the sheets. Then the left edge of the topmost sheet is placed over the deceased and covered over on the right side, then the right edge of the same sheet is taken and placed over on the left side. Then the second and third sheets are wrapped in the same way. The extra part of the sheet should be kept more toward the head and placed over the face, and whatever is extra on the side of the feet is placed over the feet. Then the sheets should be tied carefully so that they do not come undone until he is placed in the grave, and after placing him in the grave the ties should be untied.

A woman should be shrouded in five cloths: one sheet as a waist wrapper, the second a shirt, the third a head covering, and two large sheets to cover the body.

Rulings on the funeral prayer

After shrouding the Muslim deceased, his funeral prayer should be performed. It is narrated from Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

“مَنْ شَهِدَ الْجِنَازَةَ حَتَّى يُصَلَّى عَلَيْهَا فَلَهُ قِيرَاطٌ، وَمَنْ شَهِدَهَا حَتَّى تُدْفَنَ فَلَهُ قِيرَاطَانِ))، قِيلَ: وَمَا الْقِيرَاطَانِ؟ قَالَ: ((مِثْلُ الْجَبَلَيْنِ الْعَظِيمَيْنِ))”

“Whoever attends a funeral until the prayer is offered, for him is one qirat of reward, and whoever remains until burial, for him are two qirats.” It was asked: “What are the two qirats?” He said: “Like two great mountains.”

Reference: Sahih al-Bukhari, Al-Jana’iz, Bab man intazara hatta tudfan, hadith 1325; Sahih Muslim, Al-Jana’iz, Bab fadl al-salah ala al-jana’iz wa ittiba’iha, hadith 945

The funeral prayer is a communal obligation (fard kifayah). If some people perform it, the rest are not sinful, but for them it remains at the level of a sunnah. If no one performed it, all will be sinful.

Conditions of the funeral prayer

① Intention.
② Facing the qiblah.
③ Covering the private parts.
④ Both the worshipper and the deceased being pure.
⑤ Removing impurity.
⑥ The worshipper and the deceased being Muslim.
⑦ The presence of the deceased (if he belongs to the same city).
⑧ The worshipper being legally accountable (sane and adult).

The Pillars of the Funeral Prayer

① Standing.
② Four takbirs.
③ Surah al-Fatihah.
④ Sending blessings (durud) upon the Prophet ﷺ.
⑤ Supplication for the deceased.
⑥ Maintaining the sequence.
⑦ Giving the salam.

The Sunnahs of the Funeral Prayer

◈ Raising the hands (raf’ al-yadayn) with every takbir.
◈ Seeking refuge (ta’awwudh) before the recitation.
◈ Supplicating for oneself and for the people of Islam.
◈ Reciting silently.

Reference: Sahih Muslim, Kitab al-Jana’iz, Bab al-Du’a’ lil-Mayyit fi al-Salah, hadith 963 (Sarim)

◈ A short pause between the fourth takbir and the salam.
◈ Placing the hands on the chest.
◈ Giving the salam on the right side only.

Reference: (Da’if) Sunan al-Daraqutni, Kitab al-Jana’iz, Bab al-Taslim fi al-Janazah Wahid 2/71, hadith 1799; al-Mustadrak lil-Hakim 1/360, hadith 1332

Giving the salam on both sides is also established.

Reference: al-Sunan al-Kubra lil-Bayhaqi 4/43; Ahkam al-Jana’iz lil-Albani, pp. 162-164

The Method of the Funeral Prayer

Whether the one praying the funeral prayer is alone or is the imam: if the deceased is a man, he stands facing his chest, and if the deceased is a woman, he stands facing the middle part of the body, while the followers stand behind the imam.

Reference: If the deceased is a man, it is sunnah to stand facing his head: Ahkam al-Jana’iz lil-Albani, p. 138 (A.D.)

It is sunnah to form at least three rows. Then he says the opening takbir, and without the opening supplication (du’a al-istiftah), after ta’awwudh and tasmiyah, he recites Surah al-Fatihah. Then he says the second takbir and recites durud. Then he says the third takbir and recites the sunnah supplications for the deceased. Examples:

“اللَّهُمَّ اغْفِرْ لِحَيِّنَا وَمَيِّتِنَا وَصَغِيرِنَا وَكَبِيرِنَا وَذَكَرِنَا وَأُنْثَانَا وَشَاهِدِنَا وَغَائِبِنَا ، اللَّهُمَّ مَنْ أَحْيَيْتَهُ مِنَّا فَأَحْيِهِ عَلَى الْإِيمَانِ ، وَمَنْ تَوَفَّيْتَهُ مِنَّا فَتَوَفَّهُ عَلَى الْإِسْلَامِ ، اللَّهُمَّ لَا تَحْرِمْنَا أَجْرَهُ ، وَلَا تُضِلَّنَا بَعْدَهُ”

“O Allah! Forgive our living and our dead, our young and our old, our males and our females, our present and our absent.

O Allah! Whomever of us You keep alive, keep him alive upon faith, and whomever of us You cause to die, cause him to die upon Islam.

O Allah! Do not deprive us of his (the deceased’s) reward, and do not let us go astray after him.”

Reference: Sunan Abi Dawud, Kitab al-Jana’iz, Bab al-Du’a’ lil-Mayyit fi al-Salah, hadith 3201; Jami’ al-Tirmidhi, hadith 1024; Sunan al-Nasa’i, hadith 1988; Sunan Ibn Majah, Kitab al-Jana’iz, Bab Ma Ja’a fi al-Du’a’ fi al-Salah, hadith 1498 (the wording is his)

“اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ ، وَأَكْرِمْ نُزُلَهُ ، وَوَسِّعْ مُدْخَلَهُ ، وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ ، وَنَقِّهِ مِنْ الْخَطَايَا كَمَا نَقَّيْتَ الثَّوْبَ الْأَبْيَضَ مِنْ الدَّنَسِ ، وَأَبْدِلْهُ دَارًا خَيْرًا مِنْ دَارِهِ ، وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ ، وَزَوْجًا خَيْرًا مِنْ زَوْجِهِ ، وَأَدْخِلْهُ الْجَنَّةَ ، وَقِهِ فِتْنَةَ الْقَبْرِ وَعَذَابَ النَّارِ”

“O Allah! Forgive him, have mercy on him, grant him well-being and pardon him.

Make his hospitality honourable, and make his grave spacious.

Wash him with water, snow and hail, and cleanse him of sins as You cleansed the white garment of dirt.

Grant him a home better than his home, a family better than his family, and a wife better than his wife.

Admit him to Paradise, and protect him from the trial of the grave and the punishment of the Fire.”

Reference: Sahih Muslim, Kitab al-Jana’iz, Bab al-Du’a’ lil-Mayyit fi al-Salah, hadith 963

“وَافْسحْ لَهُ في قَبْرِهِ ، وَنَوِّرْ لَهُ فيه”

Reference: Sahih Muslim, Kitab al-Jana’iz, Bab fi Ighmad al-Mayyit wa al-Du’a’ lahu Idha Hadara, hadith 920

If the deceased is a woman, he should use the feminine pronouns.

Reference: The word “mayyit” is an adjective noun, and applies to both masculine and feminine, so it is not necessary to change the pronouns.

If the deceased is a child, this supplication should be recited:

“اللَّهُمَّ اجْعَلْهُ فَرَطَاً وَذُخْراً لِوَالِدَيْهِ، وشَفِيعاً مُجَاباً، اللَّهُمَّ ثَقِّلْ بِهِ مَوَازِيْنَهُمَا، وأعْظِمْ بهِ أُجُورَهُمَا، وألْحِقْهُ بِصَالِحِ الـمُؤْمِنينَ، واجْعَلْهُ فِي كَفَالَةِ إِبْرَاهِيمَ، وَقِهِ بِرَحْمَتِكَ عَذَابَ الجَحِيمِ، وأبْدِلْهُ دَاراً خَيْراً مِنْ دَارِهِ، وَأَهْلاً خَيْراً مِنْ أَهْلِهِ، اللَّهُمَّ اغْفِرْ لأسْلاَفِنَا، وَأَفْرَاطِنَا، وَمَنْ سَبَقَنا بالإيْمَانِ”

“O Allah! Make him a forerunner and a store for his parents, and an intercessor whose intercession is accepted.

O Allah! Through him make their scales heavy, and make their reward great.

Join him with the righteous believers, and place him in the care of Ibrahim (peace be upon him).

By Your mercy protect him from the punishment of Hellfire, and grant him a home better than his home, and a family better than his family.

O Allah! Forgive our predecessors, and our young children as well, and all those who have passed before us with faith.”

Reference: al-Mughni wa al-Sharh al-Kabir 2/369

Then he says the fourth takbir and pauses briefly.

Reference: al-Sunan al-Kubra lil-Bayhaqi 4/35

Then he gives one salam to the right side.

Reference: (Da’if) Sunan al-Daraqutni 2/71, hadith 1799; al-Mustadrak lil-Hakim 1/360, hadith 1332

If someone joins the funeral prayer late, he should join with the imam. When the imam gives the salam, he should complete the part he missed afterwards and then give the salam. If it is feared that the funeral will be lifted immediately after the salam, he should quickly complete the takbirs and give the salam.

If someone was unable to pray the funeral prayer before the burial, he may pray it standing before the grave, facing the qiblah.

If a miscarriage occurs and the child is four months or more, the funeral prayer is to be prayed, and if it is less than four months, it is buried without prayer.

Reference: al-Mughni wa al-Sharh al-Kabir 2/393; Ahkam al-Jana’iz lil-Albani, p. 104 (A.D.)

Carrying the Deceased to the Graveyard and Burying Him

Carrying the deceased on the shoulders and burying him is a communal obligation (fard kifayah) upon the Muslims. The burial is established from the Book and the Sunnah. Allah the Exalted says:

﴿أَلَم نَجعَلِ الأَرضَ كِفاتًا ﴿٢٥﴾ أَحياءً وَأَمو‌ٰتًا ﴿٢٦﴾… سورة المرسلات﴾

“Have We not made the earth a receptacle? For the living and the dead.”

Reference: al-Mursalat 77:25-26

And He said:

“ثُمَّ أَمَاتَهُ فَأَقْبَرَهُ”

“Then He caused him to die and then buried him in the grave.”

Reference: Abasa 80:21

Joining the funeral procession and accompanying it to the grave is sunnah, and the narration about the qirat of reward also indicates this.

Reference: Sahih al-Bukhari, hadith 1325; Sahih Muslim, hadith 945

The one accompanying the funeral should, as far as possible, be among those who carry it on their shoulders. If the graveyard is far away, there is no harm in taking it by vehicle or animal. When carrying the funeral, one should walk at a suitably quick pace:

“أَسْرِعُوا بِالْجِنَازَةِ ، فَإِنْ تَكُ صَالِحَةً فَخَيْرٌ تُقَدِّمُونَهَا ، وَإِنْ يَكُ سِوَى ذَلِكَ فَشَرٌّ تَضَعُونَهُ عَنْ رِقَابِكُمْ”

Reference: Sahih al-Bukhari, Kitab al-Jana’iz, Bab al-Sur’ah bil-Janazah, hadith 1315; Sahih Muslim, Kitab al-Jana’iz, Bab al-Isra’ bil-Janazah, hadith 944

The meaning is not that they should run excessively, but that they should walk with composure. Reciting loudly while carrying the funeral, or collective voices saying La ilaha illa Allah, or dhikr/istighfar, is an innovation (bid’ah).

Women going out with the funeral is forbidden:

“نُهِينَا عَنْ اتِّبَاعِ الْجَنَائِزِ”

“We were forbidden from following funerals.”

Reference: Sahih al-Bukhari, Kitab al-Jana’iz, Bab Ittiba’ al-Nisa’ al-Janazah, hadith 1278

The Description of the Grave and the Method of Burial

Making the grave deep and wide is sunnah:

“احْفِرُوا وَأَعْمِقُوا وَأَوْسِعُوا”

“Dig, make it deep, and make it wide.”

Reference: Sunan Abi Dawud, Kitab al-Jana’iz, Bab fi Ta’miq al-Qabr, hadith 3216; Sunan Abi Dawud, Kitab al-Jana’iz, Bab fi Ta’miq al-Qabr, hadith 3215; Jami’ al-Tirmidhi, Kitab al-Jihad, Bab Ma Ja’a fi Dafn al-Shuhada’, hadith 1713

Taking care to provide a screen when lowering a woman into the grave is sunnah.

When lowering the deceased into the grave, one should say:

“بِسْمِ اللهِ ، وَعَلَى مِلَّةِ رَسُولِ اللهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّم”

In the name of Allah, and upon the way (religion) of the Messenger of Allah ﷺ.

Reference: Jami’ al-Tirmidhi, Kitab al-Janaiz, Bab Ma Ja’a Ma Yaqulu Idha Udkhila al-Mayyit al-Qabr, hadith 1046; Sunan Abi Dawud, Kitab al-Janaiz, Bab fi al-Du’a lil-Mayyit Idha Wudi’a fi Qabrihi, hadith 3213; Musnad Ahmad 2/27

The deceased should be laid on his right side with his face towards the qiblah, because he ﷺ said:

“قِبْلَتكُمْ أَحْيَاءً وَأَمْوَاتًا”

“Whether you are alive or dead, the Ka’bah is your qiblah in both states.”

Reference: Sunan Abi Dawud, Kitab al-Wasaya, Bab Ma Ja’a fi al-Tashdid fi Akl Mal al-Yatim, hadith 2875

A brick/stone should be placed under the head, or a heap of earth should be made to raise the head; the face should be brought close to the wall in front of it, and earth should be placed behind the back as support so that the body does not roll over. The niche (lahd) should be closed with earth and unbaked bricks, and the same earth that came out of the digging should be put back; extra earth should not be added.

The grave should be raised by about a hand-span (like the hump of a camel) so that water does not stand on it; pebbles should be placed on it and water sprinkled so that the earth settles. The purpose of raising it a hand-span is to mark the grave so that it is not trampled. Marking its boundary by placing stones around it is permissible, but writing on the grave is forbidden.

After the burial, it is recommended to stand at the grave and make supplication and seek forgiveness. When the Messenger of Allah ﷺ finished a burial, he would say:

“اسْتَغْفِرُوا لأَخِيكُمْ وَاسْأَلُوا لَهُ التَّثْبِيتَ فَإِنَّهُ الآنَ يُسْأَلُ”

Reference: Sunan Abi Dawud, Kitab al-Janaiz, Bab al-Istighfar ‘Inda al-Qabr lil-Mayyit fi Waqt al-Insiraf, hadith 3221

Recitation of the Qur’an at the grave is established neither from the Messenger of Allah ﷺ nor from the Companions, so it is an innovation (bid’ah).

Constructing buildings over graves, plastering them and writing on them is forbidden. It is narrated from Jabir (may Allah be pleased with him):

“نَهَى رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ أَنْ يُجَصَّصَ الْقَبْرُ، وَأَنْ يُقْعَدَ عَلَيْهِ، وَأَنْ يُبْنَى عَلَيْهِ”

The Messenger of Allah ﷺ forbade that:

  • the grave be plastered,
  • it be sat upon,
  • or any building be constructed over it.
Reference: Sahih Muslim, Kitab al-Janaiz, Bab al-Nahy ‘an Tajsis al-Qubur wa al-Bina’ ‘Alayha, hadith 970

And:

“نَهَى النَّبِيُّ -صلى الله عليه وسلم- أَنْ تُجَصَّصَ القُبُورُ، وَأَنْ يُكْتَبَ عَلَيْهَا، وَأَنْ يُبْنَى عَلَيْهَا، وَأَنْ تُوطَأَ”

The Prophet ﷺ forbade that:

  • graves be plastered,
  • anything be written on them,
  • buildings be constructed over them,
  • and they be walked upon (trampled).
Reference: Jami’ al-Tirmidhi, Kitab al-Janaiz, Bab Ma Ja’a fi Karahiyat Tajsis al-Qubur wa al-Kitabah ‘Alayha, hadith 1052

Lighting lamps on graves, building mosques there, and praying at graves or facing them is forbidden. Women going frequently to visit graves is also forbidden:

“لعن رسول الله صلى الله عليه وسلم زائرات القبور”

The Messenger of Allah ﷺ cursed women who visit graves.

Reference: Jami’ al-Tirmidhi, Kitab al-Janaiz; Sunan Ibn Majah, Kitab al-Janaiz, Bab Ma Ja’a fi al-Nahy ‘an Ziyarat al-Nisa’ al-Qubur, hadith 1574, 1576

Concerning the Jews and Christians he ﷺ said:

“لَعَنَ اللَّهُ الْيَهُودَ وَالنَّصَارَى اتَّخَذُوا قُبُورَ أَنْبِيَائِهِمْ مَسَاجِدَ”

May Allah curse the Jews and Christians; they made the graves of their prophets places of prostration (mosques).

Reference: Sahih al-Bukhari, Kitab al-Janaiz, Bab Ma Ja’a fi Qabr al-Nabi ﷺ, hadith 1390

Walking on graves, trampling them with shoes, sitting on them, throwing rubbish on them, or directing drainage water towards them is disrespect to the graves and is forbidden:

“لأَنْ يَجْلِسَ أَحَدُكُمْ عَلَى جَمْرَةٍ فَتُحْرِقَ ثِيَابَهُ فَتَخْلُصَ إِلَى جِلْدِهِ خَيْرٌ لَهُ مِنْ أَنْ يَجْلِسَ عَلَى قَبْرٍ”

For one of you to sit on a burning coal, so that it burns his clothes and reaches his skin —

that is better for him than to sit on a grave.

Reference: Sahih Muslim, Kitab al-Janaiz, Bab al-Nahy ‘an al-Julus ‘ala al-Qabr wa al-Salah ‘Alayh, hadith 971

According to Imam Ibn al-Qayyim (may Allah have mercy on him), the aspect of respect for the people of the graves is prominent in these prohibitions.

Reference: Hashiyat Ibn al-Qayyim 9/37

Rulings on Condolence and Visiting Graves

Offering condolences to the relatives of the deceased, exhorting them to patience, and supplicating for the deceased is recommended. It is narrated from ‘Amr ibn Hazm (may Allah be pleased with him) that the Messenger of Allah ﷺ said:

“مَا مِنْ مُؤْمِنٍ يُعَزِّي أَخَاهُ بِمُصِيبَةٍ إِلَّا كَسَاهُ اللَّهُ سُبْحَانَهُ مِنْ حُلَلِ الْكَرَامَةِ يَوْمَ الْقِيَامَةِ”

Any believer who offers condolences to his brother in a calamity, Allah, Glorified and Exalted, will clothe him in garments of honour on the Day of Resurrection.

Reference: (Da’if – weak) Sunan Ibn Majah, Kitab al-Janaiz, Bab Ma Ja’a fi Thawab Man ‘Azza Musaban, hadith 1601; Irwa’ al-Ghalil 3/216, hadith 764

① In condolence, words with the following meaning should be said: “May Allah grant you a great reward, grant you beautiful patience, and forgive your deceased.”
② Making arrangements for sitting for condolences and announcing it (as is the custom today) is not correct according to the Shari’ah.

Preparing food and sending it to the family of the deceased is recommended:

“اصْنَعُوا لِأَهْلِ جَعْفَرٍ طَعَامًا فَإِنَّهُ قَدْ جَاءَهُمْ مَا يَشْغَلُهُمْ”

Prepare food for the family of Ja’far (may Allah be pleased with him), for something has come upon them that is occupying (and grieving) them.

Reference: Jami’ al-Tirmidhi, Kitab al-Janaiz, Bab Ma Ja’a fi al-Ta’am Yusna’ li-Ahl al-Mayyit, hadith 998; Musnad Ahmad 1/205

But the family of the deceased gathering people and cooking food, paying reciters to recite the Qur’an, and bearing the financial burden — this is an innovation and forbidden. Imam Ahmad (may Allah have mercy on him) reports from Jarir ibn ‘Abdullah (may Allah be pleased with him):

“كُنَّا نَعُدُّ الِاجْتِمَاعَ إِلَى أَهْلِ الْمَيِّتِ وَصَنِيعَةَ الطَّعَامِ بَعْدَ دَفْنِهِ مِنَ النِّيَاحَةِ “

We (the Companions) used to regard gathering at the house of the deceased’s family and preparing food there after the burial as part of wailing (mourning).

Reference: Musnad Ahmad 2/204

According to Shaykh al-Islam Ibn Taymiyyah (may Allah have mercy on him), the family of the deceased gathering people for a meal, arranging recitation, and giving gifts was not known among the Salaf, and the people of knowledge have declared it disliked for various reasons.

‘Allamah al-Turtushi (may Allah have mercy on him) mentioned that condolence gatherings and assembling at the time of calamity is a prohibited and abominable innovation, and that there is no legal evidence in the Shari’ah for the second, third, fourth and seventh days, a monthly gathering, or an annual death anniversary/’urs. If this expense comes from the estate and one of the heirs has not given permission, or one of the heirs is a minor, then both this expense and eating this food are forbidden.

Visiting Graves

③ Visiting the graveyard is recommended for men, provided the purpose is to take lesson and admonition and to supplicate and seek forgiveness for the deceased:

“كنت نهيتكم عن زيارة القبور ألا فزوروها”

I had forbidden you from visiting graves; now listen! Visit them.

Reference: Sahih Muslim, Kitab al-Janaiz, Bab Isti’dhan al-Nabi ﷺ Rabbahu ‘Azza wa Jalla fi Ziyarat Qabr Ummihi, hadith 977

And in Jami’ al-Tirmidhi there is an addition:

“فَإِنَّهَا تُذَكِّرُ الآخِرَةَ “

Indeed, it (visiting graves) reminds one of the Hereafter.

Reference: Jami’ al-Tirmidhi, Kitab al-Jana’iz, Bab ma ja’a fi al-rukhsah fi ziyarat al-qubur, hadith 1054

④ Three conditions have been mentioned for visiting graves:

1. Those who visit should be men, not women, because:

“لعن الله زائرات القبور”

May Allah curse the women who visit graves.

Reference: Al-Sunan al-Kubra by al-Bayhaqi 4/78; Musnad Abi Dawud al-Tayalisi, hadith 2478

In this same place, a detailed point is also mentioned regarding the word of emphasis (mubalaghah) in the hadith.

Reference: The word of emphasis occurring in the noble hadith “” should be kept in view… (Sahih al-Bukhari, hadith 1252; Sahih Muslim, hadith 974)

2. One should not travel to another city for the purpose of visiting:

“لا تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاثَةِ مَسَاجِد”

Travel (with the intention of worship) is not to be undertaken except to three mosques.

Reference: Sahih al-Bukhari, Fadl al-Salah fi Masjid Makkah wa al-Madinah, hadith 1189; Sahih Muslim, Kitab al-Hajj, Bab fadl al-masajid al-thalathah, hadith 1397

3. The purpose should be to take a lesson and advice, and to supplicate for the deceased. If the purpose is seeking blessings (tabarruk) or the fulfilment of needs/removal of difficulties, then this is an innovation, indeed shirk.

Shaykh al-Islam Ibn Taymiyyah (may Allah have mercy on him) says that visiting is of two kinds: legislated and innovated. The legislated kind consists of greeting and supplication (without undertaking a journey), while the innovated kind consists of asking the dead for needs, which is “major shirk”, and making the grave or the occupant of the grave a means of approach (wasilah) is an innovation and a path to shirk.

Reference: Majmu’ al-Fatawa 24/326-327, with slight paraphrasing.

Conclusion

ھذا ما عندی والله اعلم بالصواب