Dua After Janazah Prayer
3 Ways to Pray for the Deceased

The Janazah prayer, the funeral prayer offered for a deceased Muslim, is at its heart a prayer of supplication, asking Allah to forgive and have mercy on the one who has passed. After the prayer, and as the deceased is laid to rest, the believer continues to turn to Allah on their behalf, asking for His mercy and forgiveness. The Dua After Janazah Prayer is this beautiful plea, offered with love, gentleness and hope in the boundless mercy of Allah.
اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ
Allāhumma-ghfir lahu warhamhu wa ‘āfihi wa‘fu ‘anhu.
“O Allah, forgive him, have mercy on him, give him well-being, and pardon him.”
Praying for the deceased is one of the kindest acts a believer can perform, a gift of supplication that benefits the departed in their new journey. The Prophet Muhammad (pbuh) taught beautiful supplications to ask Allah to forgive the deceased and grant them mercy and peace. This guide explains the Dua After Janazah Prayer and three ways to pray for the departed, so that the believer may turn to Allah for their loved ones with sincerity and hope.
Praying for the Forgiveness of the Deceased
The Janazah prayer centres on supplication for the deceased, and among the most beautiful is the dua quoted above: O Allah, forgive him, have mercy on him, give him well-being, and pardon him. The Prophet (pbuh) taught this comprehensive supplication, asking Allah for the forgiveness, mercy, well-being and pardon of the one who has passed. Each word is a gift of love, seeking from Allah the very things the deceased needs most in their journey to Him.

The full supplication the Prophet (pbuh) taught continues beautifully, asking Allah to honour the resting place of the deceased, to cleanse them of sins as a white garment is cleansed, and to grant them a home better than their home and a family better than their family. These tender words reflect the deep care a believer holds for the departed, and the hope that Allah, in His boundless mercy, will receive them with kindness and grant them peace.
Three Ways to Pray for the Deceased
Praying for the departed is a beautiful act of love and mercy. These three ways help the believer pray for the deceased after the Janazah prayer.
- Ask Allah to forgive them, reciting the supplications the Prophet (pbuh) taught for the deceased.
- Seek mercy and peace for them, asking Allah to grant them well-being and a good resting place.
- Continue to pray after the burial, asking Allah for their forgiveness and steadfastness.
رَبَّنَا اغْفِرْ لَنَا وَلِإِخْوَانِنَا الَّذِينَ سَبَقُونَا بِالْإِيمَانِ
Rabbanaghfir lana wa li’ikhwaninal-ladhina sabaquna bil-iman
Our Lord forgive us and our brothers who preceded us in faith
A Gift of Mercy for the Departed
The Dua After Janazah Prayer is a beautiful gift of mercy for the departed, asking Allah to forgive them, have mercy on them, and grant them peace. By reciting the supplications the Prophet (pbuh) taught, seeking mercy and a good resting place for the deceased, and continuing to pray for them after the burial, the believer offers their loved ones a precious gift of supplication. Offered with love, gentleness and hope in the boundless mercy of Allah, these prayers benefit the departed on their journey to their Lord. There is deep comfort in this for those who grieve, for although the departed has gone ahead, the bond of love remains, carried now in the form of supplication, and every sincere prayer is a gift that reaches them by the mercy of Allah.

This supplication pairs naturally with the dua for forgiveness and the dua for mercy. Together they help the believer turn to Allah in mercy and hope for those who have passed.
The Janazah prayer is at its heart a plea for the forgiveness and mercy of Allah upon the departed. Learn the duas of salah with us on YouTube, where the supplications are recited aloud, on Threads for a gentle reminder to pray for those who have passed, and on LinkedIn where readers share words of comfort and hope.
Frequently Asked Questions
The Dua After Janazah Prayer asks Allah to forgive and have mercy on the deceased, such as Allahumma-ghfir lahu warhamhu wa afihi wafu anhu, O Allah forgive him, have mercy on him, give him well-being, and pardon him.
The Janazah prayer is the funeral prayer offered for a deceased Muslim. It is at its heart a prayer of supplication, asking Allah to forgive the deceased and grant them His mercy and peace.
It asks Allah for the forgiveness, mercy, well-being and pardon of the deceased, and to honour their resting place, cleanse them of sins, and grant them a better home. Each word is a gift of love and hope.
Yes, the believer continues to pray for the departed after the burial, asking Allah for their forgiveness and steadfastness. Praying for the deceased is a beautiful and ongoing gift of mercy.
Because praying for the deceased is one of the kindest acts a believer can perform, a gift of supplication that benefits the departed on their journey to Allah. It is offered with love and hope in His boundless mercy.
Yes, the Janazah prayer is a communal obligation, so when some of the Muslims pray it, the duty is fulfilled for all. It is a beautiful right of the deceased upon the living and a gift of supplication for the departed.
