Salat al-Janazah is the funeral prayer offered for a deceased Muslim. It is a standing prayer with four takbirs and no rukoo or sujood, and it takes around two minutes. It is a fard kifayah, a communal obligation, which means that if some of the community perform it the duty is lifted from the rest, and if nobody performs it the whole community is accountable.
Most people learn it in the moment, at a graveside or in a mosque courtyard, without having been taught the words. This guide from Human Concern International UK, a registered Islamic charity in the UK, sets out the prayer step by step so you can take part with confidence.
| Ruling | Fard kifayah, a communal obligation |
| Length | Four takbirs, around two minutes |
| Rukoo or sujood | None. The whole prayer is performed standing |
| Recited aloud? | The takbirs and the tasleem are audible. The rest is silent |
| Wudu required? | Yes |
| Where the imam stands | At the chest of a man, at the middle of a woman |
| Reward | One qirat for attending the prayer, two for staying until burial |
The Prophet ﷺ said that whoever attends a funeral until the prayer is offered has one qirat, and whoever stays until burial has two qirats. He was asked what the two qirats are, and he said they are like two great mountains (Sahih al-Bukhari 1325).
Stand in rows facing the qiblah with the body placed in front of the imam. Three rows are recommended, based on the narration that no Muslim dies and three rows of Muslims pray over him except that he is forgiven (Sunan Abi Dawud 3166, graded hasan).
Make the intention in your heart to pray Salat al-Janazah for this deceased person behind this imam. Raise your hands and say “Allahu Akbar”, then place your hands as you would in any prayer.
In the Hanafi school, recite the opening praise, Thana: “Subhanaka Allahumma wa bihamdika, wa tabarakasmuka, wa ta’ala jadduka, wa jalla thana’uka, wa la ilaha ghayruk.”
In the Shafi, Maliki and Hanbali schools, recite Surah Al-Fatihah here, following the narration of Ibn Abbas that he recited Al-Fatihah over a funeral and said it is from the Sunnah (Sahih al-Bukhari 1335).
Say “Allahu Akbar” without raising the hands, in the Hanafi school, then recite the salawat on the Prophet ﷺ, the same words you say in the final sitting of every prayer:
“Allahumma salli ala Muhammadin wa ala ali Muhammad, kama sallayta ala Ibrahima wa ala ali Ibrahim, innaka Hamidun Majid.”
Say “Allahu Akbar”, then make dua for the deceased. The most authentic wording is the dua reported by Awf ibn Malik, who said that he memorised it when the Prophet ﷺ prayed over a funeral (Sahih Muslim 963):
“Allahumma-ghfir lahu warhamhu, wa afihi wa fu anhu, wa akrim nuzulahu, wa wassi madkhalahu, waghsilhu bil-ma’i wath-thalji wal-barad, wa naqqihi minal-khataya kama yunaqqath-thawbul-abyadu minad-danas.”
O Allah, forgive him and have mercy on him, keep him safe and pardon him, honour his place of rest and make wide his entrance, wash him with water, snow and hail, and cleanse him of his sins as a white garment is cleansed of dirt.
Change “lahu” to “laha” for a woman. If the deceased is a child, the dua is instead for the parents, asking Allah to make the child a means of reward and intercession for them.
If you do not know the Arabic, make dua in your own words. The Prophet ﷺ said to be sincere in supplication for the deceased (Sunan Abi Dawud 3199).
Say “Allahu Akbar”, pause briefly, and many add a short dua such as “Allahumma la tahrimna ajrahu wa la taftinna ba’dahu”, O Allah, do not deprive us of his reward and do not put us to trial after him.
Then turn the head to the right and say “Assalamu alaykum wa rahmatullah”, and to the left and repeat it. The prayer is complete.
Wudu is required. Salat al-Janazah is a prayer, so the usual conditions of purity, covering the awrah and facing the qiblah all apply. Our guide to the five pillars of Islam covers the place of Salah in the religion, and the obligatory prayers remain due on their own times regardless of a funeral.
Women may attend. The majority of scholars permit women to pray Salat al-Janazah. Aisha (may Allah be pleased with her) requested that the body of Sa’d ibn Abi Waqqas be brought into the mosque so she could pray over him (Sahih Muslim 973). Practice at the graveside varies by community and culture.
Joining late. If you arrive after a takbir, join at once, follow the imam for the remaining takbirs, and after his tasleem complete the ones you missed before giving salam.
Janazah in absentia. Salat al-Gha’ib, prayed for someone who died elsewhere, is permitted in the view of many scholars, based on the Prophet ﷺ praying for the Negus of Abyssinia (Sahih al-Bukhari 1245). Some scholars restrict it to cases where no prayer was offered where the person died.
No prayer at prohibited times. Many scholars avoid Salat al-Janazah at sunrise, true midday and sunset, following the narration of Uqbah ibn Amir (Sahih Muslim 831), unless there is need.
The prayer is the beginning of what you can offer, not the end of it. The Prophet ﷺ said that when a person dies their deeds come to an end except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for them (Sahih Muslim 1631).
That is why so many families fund a water well, a classroom or an orphan’s care in the name of someone who has died. Our guide to Sadaqah Jariyah for the deceased explains how it works and what the scholars say about the reward reaching them, and what Sadaqah Jariyah is covers the forms it can take.
Making dua for the deceased remains open to you for the rest of your life. Our collection of duas for Ramadan includes supplications you can keep returning to, and our article on the six articles of faith covers belief in the Hereafter, which is what the funeral prayer is built on.
Four. Some narrations record five, and a small number of scholars permit it, but four is the practice of the vast majority.
No. The entire prayer is performed standing.
The funeral prayer is for Muslims. You may show kindness to the family and attend the burial, but Salat al-Janazah is not offered.
Follow the imam for the takbirs and make sincere dua for the deceased in your own language. Your prayer is valid.
It is fard kifayah. If enough of the community pray it, the obligation is discharged for the rest.
In a congregation of women only, many scholars permit a woman to lead. In a mixed congregation the imam is a man.
The hardest part of a funeral is the feeling that there is nothing left to do. The hadith of the three deeds that continue is the answer to it: a charity that keeps giving on their behalf is one of the few things you can still send them.
Human Concern International UK, registered charity number 1206222 in England and Wales, builds water wells, funds classrooms and supports orphans in the name of people who have passed away, and sends the family a record of where the gift went.
Give Sadaqah Jariyah in their name and make the prayer you offered today the first of many.
Give a little extra