How to perform Salatul Janaza

How to perform Salatul Janaza

The Islamic Funeral prayer

Salatul Janaza is performed in congregation to seek pardon for the deceased and all dead Muslims.

It is Fard al Kifaya, a collective obligation upon Muslims, which means that at least one person from the community has to fulfil this obligation. As long as someone attends, it is accepted on behalf of the community, but if no one attends, then all the Muslims of that community are accountable for not fulfilling this rite.

The reward for attending salatul janazah

The Prophet Muhammad (peace be on him) said:

“Whoever attends the Janazah until it is finished, will earn a Qirat, and who ever stays until the burial, will earn two Qirats. Someone asked, “What does Qirat mean?” The Prophet (peace be on him) answered, “It means rewards as big as great mountain.” (Bukhari and Muslim)

Salatul Janazah may not be prayed during prohibited times (such as from sunrise til the sun has risen, at the zenith of the sun until it passes the meridian, and when the sun pales before sunset until it has set). Unless it is necessary to bury the body urgently.

How to perform salatul janaza

The imam stands facing qibla, in front of the body of the deceased, who lies horizontally, with their head to the right and legs towards the left of the imam.

The congregation stand behind the imam in rows. The salah is performed standing.

What to recite

Salatul Janazah is said silently, except the takbeer and tassleem. All conditions for normal salah apply, being in a state of purity and wudu making intention and facing the qibla.

Salatul Janazah has four Takbeers:

1. Takbeer and Fatiha

1st Takbeer (‘Allahu Akbar’) followed by thana’, Surat al Fatiha.

Subhanaka allahumma wa bi hamdika wa tabara kasmuka wa ta’ala jadduka wa jalla thana’uk wa la ilaha ghairuka.

O Allah, how perfect You are and praise be to You. Blessed is Your name, and exalted is Your majesty. There is no god but You.

A’udhu billahi minash shaitanir rajim.

I seek shelter in Allah from the rejected Satan.

In the Hanafi madhab only the thana’ is recited after the first takbeer. In the Shafi’i madhab the Fatiha is recited after the thana’.

2. Takbeer and Darood

2nd Takbeer followed by Al-Salawat Al-Ibraheemiyyah Darood on Prophet Muhammad (peace be on him).

Allahumma salli ‘alaa Muhammadiwa ‘alaa aali Muhammadin kamaa sallaita ‘alaa Ibrahima wa ‘alaa aali Ibrahima innaka hameedum majeed.Allahumma baarik ‘alaa Muhammadiwa ‘alaa aali Muhammadin kamaa baarakta ‘alaa Ibrahima wa ‘alaa aali Ibrahima innaka hameedum majeed.

O Allah, let Your Peace come upon Muhammad and the family of Muhammad, as you have brought peace to Ibrahim and his family. Truly, You are Praiseworthy and Glorious. Allah, bless Muhammad and the family of Muhammad, as you have blessed Ibrahim and his family. Truly, You are Praiseworthy and Glorious.

3. Takbeer and Dua for the deceased

3rd Takbeer followed by supplication (du’a) for the deceased. There are several duas which can be recited, for instance:

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

Allahummaghfir lihayyina wa mayatina wa shahidina wa ghaibina wa saghirina wa kabirina wa dhakarina wa unthana. Allahumma man ahyaytahu minna fa ahyihi alal Islam wa man tawaffaytahu minna fatawaffahu ala iman.

O Allah! Forgive our living, our dead, those of us who are present, and those who are absent, our young, our old, our males and our females. O Allah! Whomsoever among us You keep to live, make him to live in Islam, and whomsoever You cause to die, let him die in faith. [Muslim]

اَللّٰھُمَّ اغْفِرْ لَهُ وَ ارْحَمْهُ وَ عَافِهِ وَ اعْفُ عَنْهُ وَ أکْرِمْ نُزُلَهُ وَ وَسِّعْ مُدْخَلَهُ وَ اغْسِلْهُ بِالْمَاءِ وَ الثَّلْجِ وَ الْبَرَدِ وَ نَقِّهِ مِنَ الْخَطَایَا کَمَا نَقَّیْتَ الثَّوْبَ الأبْیَضَ مِنَ الدَّنَسِ وَ أبْدِلْهُ دَارًا خَیْرًا مِّنْ دَارِهِ وَ أھْلًا خَیْرًا مِّنْ أھْلِهِ وَ أدْخِلْهُ الْجَنَّةَ وَ أعِذْهُ مِنْ عَذَابِ الْقَبْرِ وَ مِنْ عَذَابِ النَّارِ.

Allahummaghfir lahu warhamhu wa aafihi wa aafu anhu wa akrim nuzulahu wa wassi’ mudkhalahu waghsilhu bilmaee wa thalji wal baradi wa naqqihi minal khataya kama yunaqqa al thaubul abyadu minad danas wa abdilhu daran khairan min darihi wa ahlan khairan min ahlihi wa zaujan khairan min zaujihi wa adkhilhul jannata wa a izhu min adhabil qabri wa adhabin naar.

O Allah, forgive him and have mercy on him and grant him peace and pardon him. Receive him with honour and make his place of entry (in grave) spacious. Wash him with water, snow, and ice and cleanse him of his faults like a white garment is cleansed of stains. O Allah, substitute for him an abode better than his abode, a family better than his family and a spouse better than his spouse. Admit him into Paradise and protect him from the torment of the grave and the torment of the Fire. Ameen. [Muslim]

اللَّهُمَّ إِنَّهُ عَبْدُكَ وَابْنُ عَبْدِكَ وَابْنُ أَمَتِكَ كَانَ يَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ أَنْتَ وَأَنَّ مُحَمَّدًا عَبْدُكَ وَرَسُولُكَ وَأَنْتَ أَعْلَمُ بِهِ اللَّهُمَّ إِنْ كَانَ مُحْسِنًا فَزِدْ فِي إِحْسَانِهِ وَإِنْ كَانَ مُسِيئًا فَتَجَاوَزْ عَنْ سَيِّئَاتِهِ اللَّهُمَّ لاَ تَحْرِمْنَا أَجْرَهُ وَلاَ تَفْتِنَّا بَعْدَهُ ‏

Allahumma innahu abduka wa’bnu abdika wa’bnu amatika. Kana yash-hadu an la ilaha illa anta wa anna Muhammadan abduka wa rasooluka, wa anta alamu bihi. Allahumma in kana muhsinan fa zid fi ihsanihi, wa in kana  usi’an fa tajawaz an sayyi’atih. Allahumma la tahrimna ajrahu wa lataftina badahu.

O Allah, he is Your slave and the son of Your male slave and Your female slave. He used to testify that there is no god but You and that Muhammad is Your slave and Your Messenger, and You know that best. O Allah, if he acted well, then increase for him his good action, and if he acted wrongly, then overlook his wrong actions. O Allah, do not deprive us of his reward, and do not try us after him.

اللهُـمِّ اغْفِـرْ لِـفلان (باسـمه) وَارْفَعْ دَرَجَتَـهُ في المَهْـدِييـن ،  وَاخْـلُفْـهُ في عَقِـبِهِ في الغابِـرين،  وَاغْفِـرْ لَنـا وَلَـهُ يا رَبَّ العـالَمـين، وَافْسَـحْ لَهُ في قَبْـرِهِ وَنَـوِّرْ لَهُ فيه

Allaahummaghfir li (name of the person) warfa’ darajatahu fil-mahdiyyeena, wakhlufhu fee ‘aqibihi fil-ghaabireena , waghfir-lanaa wa lahu yaa Rabbal-‘aalameena, wafsah lahu fee qabrihi wa nawwir lahu feehi

O Allah, forgive [name of the person] and elevate his station among those who are guided. Send him along the path of those who came before, and forgive us and him, O Lord of the worlds. Enlarge for him his grave and shed light upon him in it. [Mustadrak Al-Hakim] 

اللَّهُمَّ اغْفِرْ لَهُ اللَّهُمَّ ثَبِّتْهُ

Allāhumma’ghfir lah Allāhumma thabbit’h.

O Allah, forgive him.  O Allah, strengthen him. [Abu Dawud]

4. Takbeer and general dua

4th Takbeer followed by general supplications for yourself, family, friends, and all Muslims.

It’s a disagreed upon whether this dua can be made in a different language. However if you can’t say the dua in Arabic then you may say it in your own language. This will be fine, inshallah.

5. End with Tasleem

Say salam to the right and left side as per any other salah according to the Hanafi and Shafi madhab, and just to the right on the Hanbali and Maliki madhab.

Can you perform salatul janaza in absentia?

Performing the funeral prayer when the body is not there is known as salat al gha’ib, as the body not present.

It is generally not permitted in the Hanafi and Maliki madhhabs, though it is permitted in the Hanbali madhhab, and is recommended in the Shafi‘i madhhab.

The evidence on which the permissibility of praying the janaza in the absence of the body is based is that Abu Hurayrah narrated:

The Prophet (peace be on him) gave the people news of the death of the Negus on the day on which he died, took them out to the place of prayer, drew them up in rows and said “God is most great” four times. (Bukhari and Muslim.)

This means the Prophet (peace be on him) offered the funeral prayer for Negus even though he was in a different country.

Moreover, as the Prophet (peace be on him) offered the salah in congregation, it meant that it was permissible for his companions (may Allah be pleased with them) do so as well. Therefore this was not an act exclusive to him.

The default position is that people should go to the mosque when there is a janaza.

As long as the salatul janaza has been attended and prayed by someone there is no sin.

If there is some reason they could not attend then they may pray from their own home.

Praying salatul gha’ib when there is risk of going to the salatul janaza in person

Normally, one should go the the mosque to pray salatul janaza, however there are reasons not to attend the salatul janaza in person at the mosque, for instance a risk of infecting or getting infected by a disease during a pandemic, or a flood blocking the way to the mosque. One should assess the risk and the situation.

How to perform Salatul Janaza in absence

Can others join in by praying for the deceased person in the absence of the body? Yes, others who could not attend may perform salatul janaza individually or in congregation, at home or in a mosque, from anywhere around the world, though we have different opinions on this matter.

If they do so, they should face the qibla and offer it as if the deceased’s body was present.

Can a salatul janaza be live streamed?

If you are praying the salatul gha’ib it does not have to be performed at the same time as the salatul janaza is performed live. However it can be joined by live video streaming from any location in the world. The time difference does not matter because it is a nawafil salah.

How long after the burial can salatul janaza be prayed?

Salatul gha’ib can be prayed after the ghusl has been performed and should be prayed before the body has deteriorated, so upto a few days after the burial.

Jazakumullahu khayran for spending time learning with us. We need your support to enable us to reach more people and spread authentic knowledge. Every contribution big or small is valuable to our future.

‘If anyone calls others to follow right guidance, his reward will be equivalent to those who follow him (in righteousness) without their reward being diminished in any respect.’ (Muslim)

Related posts

Help us promote a better understanding of Islam’s beautiful message of balance, moderation and tolerance.

Your support will help us make sacred knowledge accessible and empower people to improve themselves and their lives.


Shaykh Haytham Tamim is the founder and main teacher of the Utrujj Foundation. He has provided a leading vision for Islamic learning in the UK, which has influenced the way Islamic knowledge is disseminated. He has orchestrated the design and delivery of over 200 unique courses since Utrujj started in 2001. His extensive expertise spans over 30 years across the main Islamic jurisprudence schools of thought. He has studied with some of the foremost scholars in their expertise; he holds some of the highest Ijazahs (certificates) in Quran, Hadith (the Prophetic traditions) and Fiqh (Islamic rulings). His own gift for teaching was evident when he gave his first sermon to a large audience at the age of 17 and went on to serve as a senior lecturer of Islamic transactions and comparative jurisprudence at the Islamic University of Beirut (Shariah College). He has continued to teach; travelling around the UK, Europe and wider afield, and won the 2015 BISCA award (British Imams & Scholars Contributions & Achievements Awards) for Outstanding Contribution to Education and Teaching.