Every Muslim will one day be asked to join a janazah prayer, often with no warning. This guide shows you how to pray janazah step by step: the four takbirs, exactly what to say after each one, the funeral dua in Arabic with its meaning, where the four schools differ, and a printable card you can keep on your phone.
How do you pray janazah?
Janazah is a standing prayer of four takbirs with no ruku or sujood. Make wudu and intend the prayer. After the 1st takbir recite Al-Fatihah, after the 2nd send salawat on the Prophet ﷺ (Durood Ibrahim), after the 3rd make dua for the deceased, after the 4th pause briefly, then end with salam. The Prophet ﷺ prayed four takbirs (Sahih al-Bukhari 1333).
Janazah prayer at a glance
The whole prayer takes about two to three minutes. Here is what you do and say at each stage.
| Stage | What you say (silently) | Hands |
|---|---|---|
| Intention | In your heart: “I pray janazah for this deceased, following the imam.” | Down |
| 1st takbir: “Allahu Akbar” | Surah Al-Fatihah (Hanafis recite the opening praise, thana, instead) | Raise to ears or shoulders, then fold |
| 2nd takbir | Durood Ibrahim (the salawat you say in every salah) | Folded (some raise again, see below) |
| 3rd takbir | Dua for the deceased (Arabic below) | Folded |
| 4th takbir | A short pause or a short dua | Folded |
| Salam | “As-salamu alaykum wa rahmatullah” to the right (and left, in most schools) | Released |

What do you need before the janazah prayer?
You need the same purity as any salah: wudu, clean clothes and place, covered awrah, and facing the qiblah. If you need a refresher, see the 4 fard acts of wudu, and how to perform ghusl when ghusl is due.
- The deceased is a Muslim whose body has been washed and shrouded (the family and mosque arrange this; see the Islamic funeral and burial process).
- The body is placed in front of the imam, facing the qiblah side.
- You stand. Standing is required for those able to; a sick person may sit.
Is janazah prayer fard?
Janazah is fard kifayah, a communal obligation: if enough people in the community pray it, the rest are free of sin, but if nobody prays it, everyone who knew is sinful. Attending still carries a huge reward. The Prophet ﷺ said that whoever attends a funeral until the prayer is offered gets one qirat of reward, and whoever stays until the burial gets two, “like two huge mountains” (Sahih al-Bukhari 1325; Sahih Muslim 945).
How to pray janazah step by step
Step 1: How do you stand and make the intention?
Stand in rows behind the imam, facing the qiblah, with the body between the imam and the qiblah. Make the intention in your heart; saying it aloud is not required. The Prophet ﷺ had people stand in rows for the janazah of An-Najashi (Sahih al-Bukhari 1245). The imam stands by the head of a male deceased and the middle of a female deceased (Sahih al-Bukhari 1332; Sunan Abi Dawud 3194).
Odd numbers of rows (three or more) are a common recommendation, and a large congregation is a blessing: the Prophet ﷺ said that if forty people who associate nothing with Allah pray over a Muslim, Allah accepts their intercession for him (Sahih Muslim 948).
Step 2: What do you say after the first takbir?
Say “Allahu Akbar” with the imam, raising your hands, then fold them and recite Surah Al-Fatihah silently. Talha ibn Abdullah prayed janazah behind Ibn Abbas, who recited Al-Fatihah and said, “You should know that it is the Sunnah” (Sahih al-Bukhari 1335).
The schools differ here. The Shafi’i and Hanbali schools hold Al-Fatihah to be obligatory in janazah. The Hanafi school recites the opening praise (thana: “Subhanaka Allahumma wa bihamdika…”) instead, and the well-known Maliki view begins directly with praise of Allah and dua. Follow your imam and your school; the prayer is valid either way within each school.
Step 3: What do you say after the second takbir?
Say “Allahu Akbar” and recite the salawat on the Prophet ﷺ, the same Durood Ibrahim you read in the last sitting of every salah: “Allahumma salli ‘ala Muhammad wa ‘ala ali Muhammad, kama sallayta ‘ala Ibrahim wa ‘ala ali Ibrahim, innaka Hamidun Majid…” The Prophet ﷺ taught this wording to his Companions (Sahih al-Bukhari 3370). Read its full text and meaning in the meaning of Durood Ibrahim in salah.
Step 4: What dua do you say after the third takbir?
This is the heart of the janazah. Say “Allahu Akbar” and make dua for the deceased. The two duas the Prophet ﷺ used are below; you can say one or both. If you have not memorised them, a short, sincere dua for the person’s forgiveness is enough; most scholars accept it in your own language if you cannot say it in Arabic, though Arabic is preferred.
Dua 1 (Sahih Muslim 963), narrated by Awf ibn Malik, who said that on hearing it he wished he were the one who had died:
اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ وَأَكْرِمْ نُزُلَهُ وَوَسِّعْ مُدْخَلَهُ وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ وَنَقِّهِ مِنَ الْخَطَايَا كَمَا نَقَّيْتَ الثَّوْبَ الأَبْيَضَ مِنَ الدَّنَسِ وَأَبْدِلْهُ دَارًا خَيْرًا مِنْ دَارِهِ وَأَهْلاً خَيْرًا مِنْ أَهْلِهِ وَزَوْجًا خَيْرًا مِنْ زَوْجِهِ وَأَدْخِلْهُ الْجَنَّةَ وَأَعِذْهُ مِنْ عَذَابِ الْقَبْرِ أَوْ مِنْ عَذَابِ النَّارِ
Allahumma-ghfir lahu warhamhu, wa ‘afihi wa’fu ‘anhu, wa akrim nuzulahu, wa wassi’ mudkhalahu, waghsilhu bil-ma’i wath-thalji wal-barad, wa naqqihi minal-khataya kama naqqaytath-thawbal-abyada minad-danas, wa abdilhu daran khayran min darihi, wa ahlan khayran min ahlihi, wa zawjan khayran min zawjihi, wa adkhilhul-jannah, wa a’idhhu min ‘adhabil-qabri aw min ‘adhabin-nar.
Meaning: “O Allah, forgive him, have mercy on him, keep him safe and pardon him. Honour his arrival and make his grave spacious. Wash him with water, snow and hail, and cleanse him of sins as a white garment is cleansed of dirt. Give him a home better than his home, a family better than his family and a spouse better than his spouse. Admit him to Paradise and protect him from the punishment of the grave (or of the Fire).”
Dua 2 (Sunan Abi Dawud 3201, graded sahih by al-Albani; also Jami’ at-Tirmidhi 1024), for all believers:
اللَّهُمَّ اغْفِرْ لِحَيِّنَا وَمَيِّتِنَا وَصَغِيرِنَا وَكَبِيرِنَا وَذَكَرِنَا وَأُنْثَانَا وَشَاهِدِنَا وَغَائِبِنَا اللَّهُمَّ مَنْ أَحْيَيْتَهُ مِنَّا فَأَحْيِهِ عَلَى الإِيمَانِ وَمَنْ تَوَفَّيْتَهُ مِنَّا فَتَوَفَّهُ عَلَى الإِسْلاَمِ اللَّهُمَّ لاَ تَحْرِمْنَا أَجْرَهُ وَلاَ تُضِلَّنَا بَعْدَهُ
Allahumma-ghfir li-hayyina wa mayyitina, wa saghirina wa kabirina, wa dhakarina wa unthana, wa shahidina wa gha’ibina. Allahumma man ahyaytahu minna fa-ahyihi ‘alal-iman, wa man tawaffaytahu minna fa-tawaffahu ‘alal-Islam. Allahumma la tahrimna ajrahu wa la tudillana ba’dah.
Meaning: “O Allah, forgive our living and our dead, our young and our old, our men and our women, those present and those absent. O Allah, whoever of us You keep alive, keep him alive on faith, and whoever of us You take, take him in Islam. O Allah, do not deprive us of his reward and do not lead us astray after him.”
How does the dua change for a woman, a child or several people?
Only the pronoun endings change; the meaning stays the same.
| Deceased | Ending | Example |
|---|---|---|
| Man | -hu (lahu, ‘anhu) | Allahumma-ghfir lahu warhamhu |
| Woman | -ha (laha, ‘anha) | Allahumma-ghfir laha warhamha |
| Two people | -huma | Allahumma-ghfir lahuma warhamhuma |
| Three or more | -hum (men or mixed), -hunna (women) | Allahumma-ghfir lahum warhamhum |
| Child | Many scholars add a dua that the child be a reward and an intercessor for the parents | Ask Allah to make the child a forerunner and a source of reward for the parents |
Step 5: What do you say after the fourth takbir?
Say “Allahu Akbar” and pause for a moment. Many scholars recommend a short dua here, for example the last line of Dua 2: “Allahumma la tahrimna ajrahu wa la tudillana ba’dah” (O Allah, do not deprive us of his reward and do not lead us astray after him). Others simply pause briefly before the salam.
Step 6: How do you end the janazah prayer?
End with salam: “As-salamu alaykum wa rahmatullah”. The Hanafi school gives two salams (right and left); the Shafi’i school says the first is required and the second recommended; the Hanbali school and the well-known Maliki view give one salam to the right. Follow the imam. Then stay respectful while the body is carried out, and follow to the graveyard if you can: that is the second qirat.
Where do the four schools differ?
| Point | Hanafi | Maliki | Shafi’i | Hanbali |
|---|---|---|---|---|
| After 1st takbir | Thana (praise) | Praise and dua (Fatihah not required) | Al-Fatihah (obligatory) | Al-Fatihah (obligatory) |
| Raise hands at takbirs 2–4? | No (first only) | First only (well-known view) | Yes, every takbir | Yes, every takbir |
| Salam | Two | One | One required, second recommended | One |
| Janazah in absence (ghaib) | Not prayed | Not prayed | Allowed | Allowed |
The schools that allow the absentee prayer rely on the Prophet ﷺ praying over An-Najashi, who died in Abyssinia (Sahih al-Bukhari 1245); the Hanafi and Maliki schools treat that as specific to his case.
Printable janazah card
Screenshot or print this card and keep it in your wallet or phone.
JANAZAH IN 4 TAKBIRS (stand, no ruku or sujood)
- Allahu Akbar → Al-Fatihah (Hanafi: thana)
- Allahu Akbar → Durood Ibrahim
- Allahu Akbar → “Allahumma-ghfir lahu warhamhu…” (woman: laha, warhamha)
- Allahu Akbar → short pause or dua
- As-salamu alaykum wa rahmatullah
Wudu required · intention in the heart · follow the imam · late? make up missed takbirs after the salam
Frequently asked questions
How many takbirs are in janazah prayer?
Janazah has four takbirs. The Prophet ﷺ prayed over An-Najashi with four takbirs (Sahih al-Bukhari 1333), and this is the practice of all four schools. Zayd ibn Arqam once said five and attributed it to the Prophet ﷺ (Sahih Muslim 957), but four is the standard practice of the four schools; follow the imam either way.
Is there ruku or sujood in janazah?
No. Janazah is prayed entirely standing, with no ruku, no sujood and no sitting for tashahhud. It consists of the intention, four takbirs with what is said after each, and the salam.
Do you need wudu for janazah prayer?
Yes. Janazah is a salah, so it needs wudu, a clean body, clean clothes and facing the qiblah, according to all four schools. If you lose wudu just before it starts and there is no time, the Hanafi school allows tayammum so you do not miss the prayer; the other schools require wudu if water is available.
What if I join the janazah late?
Join the imam and follow him; the Hanafi school says to wait for his next takbir and join with it, while the other schools say join right away. After the imam’s salam, make up the takbirs you missed (briefly, if the body is about to be lifted), then give salam.
Can women pray janazah?
Yes, women can pray janazah, and the reward of a qirat is not limited to men. Umm Atiyyah said women were discouraged from following funeral processions to the grave, “but not strictly” (Sahih al-Bukhari 1278), so scholars differ on following the procession, not on the prayer itself.
What do you say in janazah prayer if you don’t know the dua?
After the third takbir, say a short dua such as “Allahumma-ghfir lahu warhamhu” (O Allah, forgive him and have mercy on him). If you cannot say it in Arabic, most scholars accept a sincere dua in your own language. The full duas from Sahih Muslim 963 and Abu Dawud 3201 are best.
What does “Inna lillahi wa inna ilayhi raji’un” mean, and when is it said?
It means “Indeed we belong to Allah, and indeed to Him we will return”. Allah praises those who say it when a disaster strikes them (Qur’an 2:156). It is said on hearing of a death, not as part of the janazah prayer itself.
Conclusion
Knowing how to pray janazah takes only a few minutes to learn: four takbirs, Al-Fatihah, Durood Ibrahim, a dua for the deceased, and the salam. Keep the card above on your phone so you are ready the next time you are called to pray over a fellow Muslim.
Related guides
- The Islamic funeral and burial process: washing, shrouding and burial
- How to pray salah for beginners
- What invalidates salah
This article explains the Sunnah method and the main scholarly views. It is not a fatwa. For a specific situation, ask a qualified scholar or your local imam.


