Islamic Fiqh > Funerals > The funeral prayer (salat al-janaza)
The funeral prayer: its status as a collective obligation, its 4 takbir, its invocations, the imam's position, and the absent and make-up cases.
The funeral prayer is 4 takbirs by unanimity of the schools (hadith of the Negus, Abu Hurayra): al-Fatiha secretly after the first, the prayer upon the Prophet (peace and blessings upon him) after the second, the supplication for the deceased after the third, then the salam, a single one according to the majority. It is a communal obligation: the indebted deceased who left nothing to pay is prayed over by the Muslims, the imam refraining (al-Bukhari).
Table of Contents :
Updated on 07 October 2026 at 6:42 PM
The jurists of the 4 schools hold that the sunna in the takbirs of the funeral prayer is 4 takbirs, neither more nor less. An-Nawawi writes: the 4 takbirs are pillars, the prayer is valid only with them, and this is by unanimity; some companions differed, 5 or 4, then this difference disappeared and the community is now agreed: the funeral prayer is 4 takbirs without increase nor diminution.
The proofs: Abu Hurayra reports that the messenger of Allah (peace and blessings upon him) announced the death of the Negus the same day, went out to the musalla, aligned the rows and made 4 takbirs over him; Ibn Abbas reports that he prayed over a grave after the burial and made 4 takbirs; and Abu Hurayra said: the sunna in the funeral prayer is to recite the mother of the Quran (al-Fatiha) secretly after the first takbir, then to make 3 takbirs and to greet with the salam.
First takbir: al-Fatiha secretly, by unanimity of the jurists, according to the sunna reported by Talha ibn Abdallah ibn Awf: the sunna is that the imam recites the Fatiha after the first takbir, secretly.
The isti'adha (a'udhu billahi min ash-shaytan ar-rajim) after the first takbir: the Shafi'is in the sound view of their school and the Hanbalis recommend it, for the ta'awwudh is a sunna of recitation in general, according to « when you recite the Quran, seek refuge with Allah against the stoned devil » (an-Nahl 98); the istiftah (subhanaka Allahumma) is not a sunna according to Ibn Qudama, Abu Dawud reports from Ahmad that he did not know it, while ath-Thawri recommended it.
Second takbir: the prayer upon the Prophet (peace and blessings upon him), to which the jurists recommend holding, and which the Shafi'is declare obligatory in the prayer, its minimum being Allahumma salli 'ala Muhammad; its wording is as in the tashahhud, without special formula.
Third takbir: the supplication for the deceased, for oneself, one's parents and the Muslims; nothing is fixed in the supplication for the deceased, the obligatory being the minimum of one supplication, according to the words of the Prophet (peace and blessings upon him) to the imam who did not supplicate: « pray over the deceased while supplicating »; the authentic formulas include: « O Allah, forgive him and grant him mercy, preserve him and pardon him, honor his descent and widen his entrance ».
Fourth takbir: the Hanafis in the zahir of the school: no supplication after the 4th takbir, only the salam; as-Sarakhsi reports that some shaykhs choose the closing of the other prayers: « our Lord, give us a good share in this world and in the hereafter and preserve us from the punishment of the Fire ». The majority of Malikis: he remains without supplicating; it has been said: he supplicates if he wishes; Sahnun and Khalil: he supplicates obligatorily.
The Shafi'is: nothing is obligatory after the 4th, and the recommended is « O Allah, do not deprive us of his reward and try us not after him », according to the text of ash-Shafi'i in the book of al-Buwayti; Abu Ali ibn Abi Hurayra reports that the ancients said the closing of the prayers.
The Malikis, the Hanbalis and most people of knowledge among the companions: the sunna is a single salam to the right, according to Abu Hurayra: « the messenger of Allah (peace and blessings upon him) prayed over a deceased, made 4 takbirs and greeted a single time ». Ibn al-Mundhir reports it from Ali, Jabir ibn Abdallah, Wathila ibn al-Asqa and Ibn Abi Awfa. The Hanafis: the salam to the right and to the left; the Shafi'is: two salams as in the other prayers.
The jurists differ on the place of the imam, man or woman: Abu Hanifa: he stands at the height of the chest for the 2. Malik: at the height of the middle of the body for the man, at the height of the shoulder for the woman. The companions of ash-Shafi'i have 2 positions for the man: an-Nawawi retains at the head; the other at the chest; for the woman: at the height of her hips, without divergence. Ahmad: at the chest of the man and at the middle of the woman; in one version: at the head of the man; Ibn Qudama notes that the 2 positions almost meet.
Abu Hurayra reports: a deceased man who owed debts would be brought to the messenger of Allah (peace and blessings upon him); he would ask: « has he left enough to pay? » if the answer was yes, he prayed; otherwise he said to the Muslims: « pray over your companion ». The prayer over the deceased in the mosque is permitted according to the majority, on the basis of the hadith of Suleyk al-Hathali: the Prophet (peace and blessings upon him) prayed over him in the mosque, and it is recommended in case of rain.
An-Nawawi said: the 4 takbirs are pillars, the funeral prayer is valid only with them, and this is by unanimity; the companions differed then the community agreed: 4 takbirs without increase nor diminution.
Abu Hurayra reports: the messenger of Allah (peace and blessings upon him) announced the death of the Negus the same day, went out to the musalla, aligned the rows and made 4 takbirs over him (unanimously agreed).
Abu Hurayra reports: an indebted deceased man would be brought to the messenger of Allah (peace and blessings upon him); he would ask: has he left enough to pay? If he was told yes, he prayed; otherwise he said to the Muslims: pray over your companion.
4 takbirs, neither more nor less, by unanimity of the 4 schools, An-Nawawi reporting the agreement of the community; the hadith of the Negus (Abu Hurayra) and that of Ibn Abbas over the grave are the proofs.
After the 1st: al-Fatiha secretly; after the 2nd: the prayer upon the Prophet (peace and blessings upon him); after the 3rd: the supplication for the deceased and the Muslims; after the 4th: the schools differ, from the Hanafis without supplication, to the Shafi'is recommending « O Allah, do not deprive us of his reward ».
A single salam to the right according to the Malikis, the Hanbalis and the majority of the companions (hadith of Abu Hurayra); two salams according to the Shafi'is as in the other prayers; to the right and to the left according to the Hanafis.
Abu Hanifa: at the chest for the man and the woman; Malik: at the middle of the man, at the shoulder of the woman; the Shafi'is: at the head of the man (an-Nawawi) and at the hips of the woman; Ahmad: at the chest of the man, at the middle of the woman.
The hadith of Abu Hurayra: the Prophet (peace and blessings upon him) would ask whether the deceased had left enough to pay; if yes he prayed, otherwise he told the Muslims to pray over their companion, the imam not praying himself; the communal obligation remained fulfilled through the prayer of the others.
Yes according to the majority, on the basis of the hadith of Suleyk al-Hathali whom the Prophet (peace and blessings upon him) prayed over in the mosque; it is recommended in case of rain, and there is no karaha in praying in the mosque for the majority of the schools.
Editorial method and corpus: see our editorial transparency page.