How to Perform the Funeral Prayer (Salat al-Mayyit)
The prayer over the dead is a collective obligation (wajib kifa’i) over every deceased Muslim: once some people have performed it, the duty is lifted from everyone else. It consists of five takbirs; after each of the first four a set dhikr or du‘a is recited, and the prayer ends with the fifth. It has no Surah al-Hamd, no ruku‘, no sajdah, no tashahhud and no salam — in reality it is a supplication for the deceased.
For whom, and when
According to Ayatullah al-Uzma Sayyid ‘Ali al-Sistani, the prayer is obligatory over every deceased Muslim, and over a child who is counted a Muslim and has completed six years. For a child under six who understood the prayer, it is prayed as an obligatory precaution; if the child did not understand it, it may be prayed raja’an. It is not recommended over a stillborn child (Ayatullah Sistani, Islamic Laws, rulings 582, 583).
The prayer is offered after the ghusl, hunut and kafan, and before burial. A prayer offered before or during them does not count, even if this was out of forgetfulness or not knowing the ruling (Ayatullah Sistani, Islamic Laws, ruling 584).
If the deceased was buried without the prayer, or the prayer later turns out to have been invalid, the grave may not be opened for it. According to Ayatullah al-Sistani, as long as the body has not decomposed the prayer may be offered at the grave raja’an, with the same conditions (Ayatullah Sistani, Islamic Laws, ruling 596).
Conditions of the prayer
Niyyah: the intention in the heart to pray over this particular deceased, qurbatan ila Allah — for example “I pray over this deceased, wajib, qurbatan ila Allah”. It need not be spoken (Ayatullah Sistani, Islamic Laws, ruling 592).
Pray it standing. If no one present can stand, it is prayed sitting (Ayatullah Sistani, Islamic Laws, rulings 592, 593).
The one praying faces the qibla (Ayatullah Sistani, Islamic Laws, ruling 586).
The body lies on its back in front of him, with its head to the right of the one praying and its feet to his left (Ayatullah Sistani, Islamic Laws, ruling 586).
He must not be far from the body (in congregation, connected rows are fine), and his place must not be noticeably higher or lower than the body; a slight difference does no harm (Ayatullah Sistani, Islamic Laws, rulings 587, 588).
No barrier such as a wall or curtain may stand between the body and the one praying; a coffin is not a barrier (Ayatullah Sistani, Islamic Laws, ruling 590).
The private parts of the deceased must be covered; if a kafan was not possible, cover them with anything (Ayatullah Sistani, Islamic Laws, ruling 591).
The takbirs and du‘as follow one another without a break that would spoil the form of the prayer. As an obligatory precaution, avoid speaking, laughing and turning your back to the qibla during it, and keep the body still as in the daily prayers (Ayatullah Sistani, Islamic Laws, rulings 585, 592, 598).
Ritual purity is not a condition: according to Ayatullah al-Sistani, neither wudu, ghusl nor tayammum is required for this prayer, nor that the body and clothes be pure; so someone without wudu, someone in janabah or a woman in her period may pray it. It is still better to observe the conditions of the other prayers, and it is recommended that the one praying it has wudu (Ayatullah Sistani, Islamic Laws, rulings 585, 600).
According to Ayatullah al-Sistani, the duty of the ghusl, shroud, prayer and burial lies first with the guardian (wali) of the deceased (a woman’s guardian is her husband; otherwise the heirs in the order of inheritance): he either leads the prayer himself or permits someone else to. A prayer offered without his permission does not count (unlike the burial and similar acts, which count even without it and need not be repeated); if there is no guardian, or he refuses, it is a collective obligation on everyone and his permission is not needed. A person whom the deceased named in his will to lead the prayer, and who accepts, does not need the guardian’s permission, though it is better to ask (Ayatullah Sistani, Islamic Laws, rulings 530, 534, 537, 594; Tawdih al-Masa’il-e Jami‘ (Persian), vol. 1, ruling 706).
The method — the obligatory minimum
After the niyyah, say five takbirs — each takbir being اللّٰهُ أَكْبَر. According to Ayatullah al-Sistani, the following is sufficient (Ayatullah Sistani, Islamic Laws, ruling 597):
After the first takbir — the two testimonies
أَشْهَدُ أَنْ لَا إِلٰهَ إِلَّا اللهُ وَأَنَّ مُحَمَّدًا رَسُوْلُ اللهِ
I bear witness that there is no god but Allah and that Muhammad is the Messenger of Allah.
After the second takbir — the salawat
اَللَّهُمَّ صَلِّ عَلی مُحَمَّدٍ وَ آلِ مُحَمَّدٍ
O Allah, send blessings on Muhammad and the family of Muhammad.
After the third takbir — forgiveness for the believers
اَللّٰهُمَّ اغْفِرْ لِلْمُؤْمِنِینَ وَالْمُؤْمِناتِ
O Allah, forgive the believing men and the believing women.
After the fourth takbir — forgiveness for the deceased
For a man:
اللَّهُمَّ اغْفِرْ لِهٰذَا الْمَيِّتِ
O Allah, forgive this deceased.
For a woman:
اللَّهُمَّ اغْفِرْ لِهٰذِهِ الْمَيِّتَةِ
O Allah, forgive this deceased (woman).
The fifth takbir
With the fifth takbir the prayer is over; nothing after it is obligatory.
The better, complete method
According to Ayatullah al-Sistani, when there is time, it is better to recite these fuller du‘as after each takbir (Ayatullah Sistani, Islamic Laws, ruling 597).
After the first takbir
أَشْهَدُ أَنْ لَا إِلٰهَ إِلَّا اللهُ وَحْدَهُ لَا شَرِيْكَ لَهُ، وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُوْلُهُ، أَرْسَلَهُ بِالْحَقِّ بَشِيْرًا وَنَذِيْرًا بَيْنَ يَدَيِ السَّاعَةِ
I bear witness that there is no god but Allah, alone, without partner; and I bear witness that Muhammad is His servant and His Messenger, whom He sent with the truth as a bearer of good news and a warner before the Hour.
According to Ayatullah al-Sistani, the exact words of the narrations are not required after the takbirs: other supplications and verses of the Qur’an may also be recited as long as the form of the prayer is kept, and it is better that the du‘a after each takbir contains its own subject (Ayatullah Sistani, al-Ta‘liqah ‘ala al-‘Urwat al-Wuthqa, chapter on the method of the funeral prayer, issue 2). This is why many believers, after the two testimonies of the first takbir, also bear witness to the wilayah of Amir al-Mu’minin ‘Ali (a) and the pure Imams (a); this is not part of the obligatory minimum.
After the second takbir
اَللّٰهُمَّ صَلِّ عَلَىٰ مُحَمَّدٍ وَآلِ مُحَمَّدٍ، وَبَارِكْ عَلَىٰ مُحَمَّدٍ وَآلِ مُحَمَّدٍ، وَٱرْحَمْ مُحَمَّدًا وَآلَ مُحَمَّدٍ، كَأَفْضَلِ مَا صَلَّيْتَ وَبَارَكْتَ وَتَرَحَّمْتَ عَلَىٰ إِبْرَاهِيْمَ وَآلِ إِبْرَاهِيْمَ، إِنَّكَ حَمِيْدٌ مَجِيْدٌ، وَصَلِّ عَلَىٰ جَمِيْعِ الْأَنْبِيَاءِ وَالْمُرْسَلِيْنَ وَالشُّهَدَاءِ وَالصِّدِّيْقِيْنَ وَجَمِيْعِ عِبَادِ اللهِ الصَّالِحِيْنَ
O Allah, send blessings on Muhammad and the family of Muhammad, send Your grace on Muhammad and the family of Muhammad, and have mercy on Muhammad and the family of Muhammad, with the best of the blessing, grace and mercy You sent on Ibrahim and the family of Ibrahim; surely You are Praiseworthy, Glorious. And send blessings on all the prophets and messengers, the martyrs and the truthful, and all the righteous servants of Allah.
After the third takbir
اَللَّهُمَّ اغْفِرْ لِلْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ وَالْمُسْلِمِينَ وَالْمُسْلِمَاتِ الأَحْيَآءِ مِنْهُمْ وَالأَمْوَاتِ، وَتَابِعْ بَيْنَنَا وَبَيْنَهُمْ بِالْخَيْرَاتِ، إِنَّكَ مُجِيۡبُ الدَّعَوَاتِ، إِنَّكَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ
O Allah, forgive the believing men and women and the Muslim men and women, the living among them and the dead; let good deeds follow one another between us and them; surely You answer prayers; surely You have power over all things.
After the fourth takbir — for a man
اَللّٰهُمَّ إِنَّ هٰذَا الْمُسَجَّیٰ قُدَّامَنَا عَبْدُكَ وَٱبْنُ عَبْدِكَ وَٱبْنُ أَمَتِكَ، نَزَلَ بِكَ وَأَنْتَ خَيْرُ مَنْزُوْلٍ بِهِ، اَللّٰهُمَّ إِنَّا لَا نَعْلَمُ مِنْهُ إِلَّا خَيْرًا، وَأَنْتَ أَعْلَمُ بِهِ مِنَّا، اَللّٰهُمَّ إِنْ كَانَ مُحْسِنًا فَزِدْ فِيْ إِحْسَانِهِ، وَإِنْ كَانَ مُسِيْئًا فَتَجَاوَزْ عَنْ سَيِّئَاتِهِ وَٱغْفِرْ لَهُ، اَللّٰهُمَّ ٱجْعَلْهُ عِنْدَكَ فِيْ أَعْلَىٰ عِلِّيِّيْنَ، وَٱخْلُفْ عَلَیٰ أَهْلِهِ فِي الْغَابِرِيْنَ، وَٱرْحَمْهُ بِرَحْمَتِكَ يَا أَرْحَمَ الرَّاحِمِيْنَ
O Allah, this shrouded one before us is Your servant, the son of Your servant and the son of Your maidservant; he has come to You as a guest, and You are the best of hosts. O Allah, we know nothing of him but good, and You know him better than we do. O Allah, if he did good, increase his good; and if he did wrong, pass over his misdeeds and forgive him. O Allah, place him with You in the highest ‘Illiyyin, take his place among the family he has left behind, and have mercy on him by Your mercy, O Most Merciful of the merciful.
After the fourth takbir — for a woman
اَللّٰهُمَّ إِنَّ هٰذِهِ الْمُسَجَّاةَ قُدَّامَنَا أَمَتُكَ وَٱبْنَةُ عَبْدِكَ وَٱبْنَةُ أَمَتِكَ، نَزَلَتْ بِكَ وَأَنْتَ خَيْرُ مَنْزُوْلٍ بِهِ، اَللّٰهُمَّ إِنَّا لَا نَعْلَمُ مِنْهَا إِلَّا خَيْرًا، وَأَنْتَ أَعْلَمُ بِهَا مِنَّا، اَللّٰهُمَّ إِنْ كَانَتْ مُحْسِنَةً فَزِدْ فِيْ إِحْسَانِهَا، وَإِنْ كَانَتْ مُسِيْئَةً فَتَجَاوَزْ عَنْ سَيِّئَاتِهَا وَٱغْفِرْ لَهَا، اَللّٰهُمَّ ٱجْعَلْهَا عِنْدَكَ فِيْ أَعْلَىٰ عِلِّيِّيْنَ، وَٱخْلُفْ عَلَیٰ أَهْلِهَا فِي الْغَابِرِيْنَ، وَٱرْحَمْهَا بِرَحْمَتِكَ يَا أَرْحَمَ الرَّاحِمِيْنَ
O Allah, this shrouded one before us is Your maidservant, the daughter of Your servant and the daughter of Your maidservant; she has come to You as a guest, and You are the best of hosts. O Allah, we know nothing of her but good, and You know her better than we do. O Allah, if she did good, increase her good; and if she did wrong, pass over her misdeeds and forgive her. O Allah, place her with You in the highest ‘Illiyyin, take her place among the family she has left behind, and have mercy on her by Your mercy, O Most Merciful of the merciful.
A child who had not reached maturity
According to Ayatullah al-Sistani, the long du‘a above is for a deceased who had reached maturity. For a believing child, this du‘a is recited after the fourth takbir (Ayatullah Sistani, Islamic Laws, ruling 597):
اَللّٰهُمَّ اجْعَلْهُ لِأَبَوَیْهِ وَلَنَا سَلَفاً وَفَرَطاً وَأَجْراً
O Allah, make him, for his parents and for us, a forerunner, a treasure sent ahead and a reward.
A deceased who was mustad‘af
The narrations say that if the deceased was someone who, through limited understanding or lack of knowledge, could not recognise the truth (mustad‘af), this du‘a is recited after the fourth takbir:
اَللّٰهُمَّ اغْفِرْ لِلَّذِینَ تابُوا وَاتَّبَعُوا سَبِیلَکَ وَقِهِمْ عَذَابَ الْجَحِیمِ
O Allah, forgive those who repent and follow Your path, and shield them from the punishment of Hell.
The fifth takbir
Say the fifth takbir and the prayer is complete.
The funeral prayer in congregation
According to Ayatullah al-Sistani, in congregation too each follower says the takbirs and du‘as himself; the imam’s recitation does not count for him (Ayatullah Sistani, Islamic Laws, ruling 599).
It is recommended that the imam says the takbirs and du‘as aloud and the followers quietly, and that a follower stands behind the imam even if he is the only one (Ayatullah Sistani, Islamic Laws, ruling 600).
Before a congregational funeral prayer begins, it is recommended to say “al-salah” three times (Ayatullah Sistani, Islamic Laws, ruling 600).
A woman in her period who joins the congregation stands apart, not in the rows (Ayatullah Sistani, Islamic Laws, ruling 600).
Recommended acts
For a male deceased, the imam (or one praying alone) stands opposite the middle of the body; for a female, opposite her chest (Ayatullah Sistani, Islamic Laws, ruling 600).
Pray barefoot, and raise the hands with each takbir (Ayatullah Sistani, Islamic Laws, ruling 600).
Stand so close that your clothing, if blown by the wind, would touch the coffin (Ayatullah Sistani, Islamic Laws, ruling 600).
Pray in congregation, pray much for the deceased and for the believers, and pray where people usually gather for funeral prayers (Ayatullah Sistani, Islamic Laws, ruling 600).
Praying over the dead inside a mosque is disliked (makruh), except in al-Masjid al-Haram (Ayatullah Sistani, Islamic Laws, ruling 601).
Why five takbirs?
According to the narrations of the Ahl al-Bayt (a), the Messenger of Allah (s) said five takbirs in the funeral prayer, and in the Ja‘fari school this is obligatory. Sahih Muslim (hadith 957) also narrates that the Companion Zayd ibn Arqam said five takbirs over a body and explained that the Messenger of Allah (s) used to say five.
If you follow a marja‘ other than Ayatullah al-Sistani, check your own marja‘’s ruling on these points.
Sources: Ayatullah al-Uzma al-Sistani, Islamic Laws (the guardian, rulings 530–537; rulings of salat al-mayyit, 582–601), Tawdih al-Masa’il-e Jami‘ (Persian), vol. 1 (ruling 706), and al-Ta‘liqah ‘ala al-‘Urwat al-Wuthqa (method of the funeral prayer); al-Kafi, Kitab al-Jana’iz; Sahih Muslim, Kitab al-Jana’iz, hadith 957.
اَللّٰهُمَّ صَلِّ عَلٰى مُحَمَّدٍ وَّاٰلِ مُحَمَّدٍ