Dua for the Deceased: Duas for Parents & Loved Ones
Losing a parent or a loved one leaves a question every Muslim asks: what can I still do for them now that they are gone? The answer in the Qur’an and Sunnah is clear and comforting — you can still pray for them. This guide brings together the authentic duas for the deceased: the duas for parents who passed away, the Janazah dua from the Prophet (peace be upon him), and what scholars say actually benefits the deceased after death. Every dua below is given with its Arabic, a complete transliteration and an English translation.
Key Points
- The best dua for the deceased is the one the Prophet Muhammad (peace be upon him) taught for the Janazah prayer (Sahih Muslim 963): “Allaahummagh-fir lahu warhamhu…” — forgive him, have mercy on him, pardon him, admit him into Paradise.
- For parents who have passed away, the Qur’an gives two duas: Qur’an 14:41 (“Our Lord, forgive me and my parents and the believers…”) and the closing words of Qur’an 17:24 (“My Lord, have mercy upon them as they raised me when I was small”).
- Qur’an 59:10 teaches believers to pray for all who passed before them in faith: “Our Lord, forgive us and our brothers who preceded us in faith…”
- When a person dies, their own deeds end except for three, the Prophet (peace be upon him) said: ongoing charity, beneficial knowledge, and a righteous child who prays for them (Sahih Muslim 1631).
- Scholars explain, on the basis of these texts, that dua, asking forgiveness, charity given on the deceased’s behalf, and Hajj performed on their behalf can benefit them. No dua in this post promises forgiveness — forgiveness rests with Allah alone.
What Is the Best Dua for the Deceased?
The best dua for the deceased is the supplication the Prophet Muhammad (peace be upon him) taught for the funeral (Janazah) prayer, narrated in Sahih Muslim 963. It asks Allah for forgiveness, mercy, pardon, a spacious resting place and Paradise, and protection from the punishment of the grave and the Fire. You can recite it at the Janazah prayer, at the grave, or at home at any time — it is not limited to the funeral day.
Arabic:
اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ وَأَكْرِمْ نُزُلَهُ وَوَسِّعْ مُدْخَلَهُ وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ وَنَقِّهِ مِنَ الْخَطَايَا كَمَا نَقَّيْتَ الثَّوْبَ الْأَبْيَضَ مِنَ الدَّنَسِ وَأَبْدِلْهُ دَارًا خَيْرًا مِنْ دَارِهِ وَأَهْلًا خَيْرًا مِنْ أَهْلِهِ وَزَوْجًا خَيْرًا مِنْ زَوْجِهِ وَأَدْخِلْهُ الْجَنَّةَ وَأَعِذْهُ مِنْ عَذَابِ الْقَبْرِ وَمِنْ عَذَابِ النَّارِ
Transliteration: Allaahummagh-fir lahu warhamhu, wa ‘aafihi wa’fu ‘anhu, wa akrim nuzulahu, wa wassi’ mudkhalahu, waghsilhu bil-maa’i wath-thalji wal-barad, wa naqqihi minal-khataayaa kamaa naqqaytath-thawbal-abyada minad-danas, wa abdilhu daaran khayran min daarihi, wa ahlan khayran min ahlihi, wa zawjan khayran min zawjihi, wa adkhilhul-jannata, wa a’idhhu min ‘adhaabil-qabri wa min ‘adhaabin-naar.
Translation: “O Allah, forgive him, have mercy on him, grant him well-being and pardon him. Honour his resting place, widen his entrance, and wash him with water, snow and hail. Cleanse him of sins as a white garment is cleansed of stains. Give him a home better than his home, a family better than his family, and a spouse better than his spouse. Admit him into Paradise and protect him from the punishment of the grave and from the punishment of the Fire.” (Sahih Muslim 963)
For a woman who has passed away, change the endings from “-hu” (him) to “-ha” (her): “Allaahummagh-fir lahaa warhamhaa, wa ‘aafihaa wa’fu ‘anhaa…” — “O Allah, forgive her, have mercy on her…” The meaning is the same; only the pronouns change. For more than one person, scholars note the plural form “Allaahummagh-fir lahum warhamhum” (“O Allah, forgive them and have mercy on them”).
Dua for Deceased Parents
Dua for Forgiveness for Your Parents — Qur’an 14:41
The Prophet Ibrahim (peace be upon him) prayed for his parents, and Allah recorded his words in the Qur’an so every believer can use them. This is the first dua to learn for a mother or father who has passed away.
Arabic:
رَبَّنَا اغْفِرْ لِي وَلِوَالِدَيَّ وَلِلْمُؤْمِنِينَ يَوْمَ يَقُومُ الْحِسَابُ
Transliteration: Rabbanagh-fir lee wa liwaalidayya wa lil-mu’mineena yawma yaqoomul-hisaab.
Translation: “Our Lord, forgive me and my parents and the believers the Day the account is established.” (Qur’an 14:41, Sahih International)
Dua for Mercy for Your Parents — Qur’an 17:24
The Qur’an commands kindness to parents and then teaches us the words to pray for them. These are the closing words of Qur’an 17:24, a dua that stays just as fitting after a parent’s death as it was during their life.
Arabic:
رَّبِّ ارْحَمْهُمَا كَمَا رَبَّيَانِي صَغِيرًا
Transliteration: Rabbir-hamhuma kamaa rabbayaanee sagheeraa.
Translation: “My Lord, have mercy upon them as they raised me when I was small.” (Qur’an 17:24)
Both duas can be recited daily after any prayer, and as often as you wish — no fixed number of repetitions is prescribed in the sources. For more duas for parents, see our guide to dua for parents.
Dua for All Who Passed Before Us in Faith — Qur’an 59:10
The Qur’an also teaches a dua that reaches beyond our own family — for every believer who died before us. Allah describes the believers who come later as people who say:
Arabic:
رَبَّنَا اغْفِرْ لَنَا وَلِإِخْوَانِنَا الَّذِينَ سَبَقُونَا بِالْإِيمَانِ وَلَا تَجْعَلْ فِي قُلُوبِنَا غِلًّا لِّلَّذِينَ آمَنُوا رَبَّنَا إِنَّكَ رَءُوفٌ رَّحِيمٌ
Transliteration: Rabbanagh-fir lanaa wa li-ikhwaaninal-ladheena sabaqoonaa bil-eemaan, wa laa taj’al fee quloobinaa ghillal-lilladheena aamanoo, Rabbanaa innaka Ra’oofur-Raheem.
Translation: “Our Lord, forgive us and our brothers who preceded us in faith and put not in our hearts any resentment toward those who have believed. Our Lord, indeed You are Kind and Merciful.” (Qur’an 59:10, Sahih International)
This verse is the reason Muslims pray for the whole ummah — grandparents, teachers, friends and believers they never met — and not only for their own relatives.
Dua for the Living and the Dead
A second dua from the Janazah prayer covers everyone at once: the living, the dead, those present and absent, young and old, men and women. It is narrated in Sunan Abi Dawud 3201 and Jami’ at-Tirmidhi 1024.
Arabic:
اللَّهُمَّ اغْفِرْ لِحَيِّنَا وَمَيِّتِنَا وَشَاهِدِنَا وَغَائِبِنَا وَصَغِيرِنَا وَكَبِيرِنَا وَذَكَرِنَا وَأُنْثَانَا اللَّهُمَّ مَنْ أَحْيَيْتَهُ مِنَّا فَأَحْيِهِ عَلَى الْإِسْلَامِ وَمَنْ تَوَفَّيْتَهُ مِنَّا فَتَوَفَّهُ عَلَى الْإِيمَانِ
Transliteration: Allaahummagh-fir lihayyinaa wa mayyitinaa wa shaahidinaa wa ghaa’ibinaa wa sagheerinaa wa kabeerinaa wa dhakarinaa wa unthaanaa. Allaahumma man ahyaytahu minnaa fa-ahyihi ‘alal-Islaam, wa man tawaffaytahu minnaa fa-tawaffahu ‘alal-eemaan.
Translation: “O Allah, forgive our living and our dead, those present and those absent, our young and our old, our males and our females. O Allah, whoever among us You keep alive, keep him alive upon Islam, and whoever among us You cause to die, cause him to die upon faith.” (Sunan Abi Dawud 3201; Jami’ at-Tirmidhi 1024)
What Should You Say When Someone Dies?
When news of a death reaches you, the Qur’an teaches the words of the patient:
Arabic:
إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ
Transliteration: Innaa lillaahi wa innaa ilayhi raaji’oon.
Translation: “Indeed we belong to Allah, and indeed to Him we will return.” (Qur’an 2:156)
Say it when you first hear the news, and follow it with a dua for the person who has died — for example, the short form of the Janazah dua above, “Allaahummagh-fir lahu warhamhu” (“O Allah, forgive him and have mercy on him”), changing “-hu” to “-ha” for a woman. Condolence visits, helping the family, and praying for the deceased are all part of the same response; the words alone are the beginning, not the whole of it.
What Benefits the Deceased After Death?
This is the question that matters most to a grieving family, and the Prophet (peace be upon him) answered it directly. Abu Hurairah (may Allah be pleased with him) narrated that the Messenger of Allah (peace and blessings of Allah be upon him) said:
Arabic:
إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلَّا مِنْ ثَلَاثَةٍ: إِلَّا مِنْ صَدَقَةٍ جَارِيَةٍ، أَوْ عِلْمٍ يُنْتَفَعُ بِهِ، أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ
Transliteration: Idhaa maatal-insaanu inqata’a ‘anhu ‘amaluhu illaa min thalaathah: illaa min sadaqatin jaariyah, aw ‘ilmin yuntafa’u bihi, aw waladin saalihin yad’oo lah.
Translation: “When a man dies, his deeds come to an end except for three: ongoing charity, knowledge that is benefited from, or a righteous child who prays for him.” (Sahih Muslim 1631)
On the basis of this and other texts, scholars explain that the following can benefit the deceased:
- Your dua and istighfar for them. A righteous child praying for a parent is named in the hadith itself. Keep the duas in this guide part of your daily prayers — for more on istighfar, see astaghfirullah benefits and meaning.
- Ongoing charity (sadaqah jariyah) on their behalf. The Prophet (peace be upon him) was asked whether charity given on behalf of a deceased mother would reach her, and he said yes (Sahih al-Bukhari 1388; Sahih Muslim 1004). A well, a mosque share, Qur’an copies, or any charity whose benefit continues counts — see what is sadaqah.
- Beneficial knowledge they left behind. Teaching, books and knowledge that people still use continue to benefit the one who taught them.
- Hajj performed on their behalf. A woman asked the Prophet (peace be upon him) whether she could perform Hajj for her mother, who had vowed to perform it and died before doing so. He replied, “Perform Hajj on her behalf. Had there been a debt on your mother, would you have paid it or not? So, pay Allah’s debt as He has more right to be paid.” (Sahih al-Bukhari 1852) Scholars note that a person should complete their own obligatory Hajj first before performing Hajj on someone else’s behalf, and the same permission covers Umrah — see our how to perform Umrah guide and the Hajj guide.
What the sources do not promise is a guaranteed result for any single act. Dua, charity and Hajj on behalf of the deceased are means the Shariah has approved; whether and how Allah accepts them rests with Him. Any claim that a particular act “guarantees” forgiveness for the deceased would go beyond the evidence, and this post makes no such claim.
How to Make Dua for the Deceased
- Use the duas above in your own words too. The Arabic duas are the best words, but you may also pray in your own language — asking Allah to forgive your parent, have mercy on them, widen their grave and grant them Paradise.
- Pray regularly, not only on anniversaries. A short dua after each prayer reaches further over a lifetime than one long session once a year. There is no prescribed number of repetitions and no special day the sources require.
- Visit the grave and greet the deceased. When visiting a graveyard, greet its people with the prescribed greeting and pray for them — see our dua for the graveyard.
- Give charity on their behalf. Even a small, ongoing charity — a water well share, a Qur’an for a mosque, supporting a student — is sadaqah jariyah that can keep benefiting them.
- Be the righteous child the hadith describes. The most lasting gift to a deceased parent is a child who keeps praying, keeps doing good, and keeps their parent’s good name alive.
Frequently Asked Questions
What is the dua for a deceased father?
The Janazah dua (Sahih Muslim 963) is the most complete dua for a deceased father: “Allaahummagh-fir lahu warhamhu…” For parents specifically, add Qur’an 14:41 — “Rabbanagh-fir lee wa liwaalidayya wa lil-mu’mineena yawma yaqoomul-hisaab” (“Our Lord, forgive me and my parents and the believers the Day the account is established”) — and Qur’an 17:24 — “Rabbir-hamhuma kamaa rabbayaanee sagheeraa” (“My Lord, have mercy upon them as they raised me when I was small”).
What is the dua for a deceased mother?
The same duas apply, with the feminine pronouns: “Allaahummagh-fir lahaa warhamhaa, wa ‘aafihaa wa’fu ‘anhaa…” (“O Allah, forgive her and have mercy on her, grant her well-being and pardon her…”). Qur’an 14:41 and 17:24 are for both parents and need no change.
Can I pray for someone who died a long time ago?
Yes. There is no time limit in any of the sources. Qur’an 59:10 itself is a prayer for believers who “preceded us in faith” — people of earlier generations. You can pray for grandparents and ancestors you never met, just as you pray for a parent who died recently.
Does dua reach the deceased?
Yes, according to the hadith in Sahih Muslim 1631, a righteous child who prays for a parent is one of the three things whose benefit continues after death. Scholars also cite the Qur’anic duas for those who passed before us (59:10) and the Prophet’s teaching on charity and Hajj on behalf of the deceased. How Allah accepts each dua rests with Him.
How many times should I recite the dua for the deceased?
No fixed number is prescribed in the Qur’an or Sunnah for these duas. Recite them sincerely and as often as you wish — after prayers, at the grave, or whenever you remember your loved one.
Can I perform Umrah for my deceased parent?
Yes. Scholars permit Umrah and Hajj on behalf of a deceased person, on the evidence of Sahih al-Bukhari 1852, in which the Prophet (peace be upon him) allowed a woman to perform Hajj for her deceased mother. Scholars note that you should have completed your own obligatory Hajj first.
Sources: The Holy Qur’an; Sahih Muslim; Sahih al-Bukhari; Sunan Abi Dawud; Jami’ at-Tirmidhi
