- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • DeenUp
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

Quick answer
What is the dua for a person who passed away?
The primary dua for a person who has passed away is from the Janazah prayer: Allahumma ighfir lahu warhamhu wa afihi wa'fu anhu — O Allah, forgive him, have mercy on him, grant him safety, and pardon him (Sahih Muslim 963). This supplication can be made at any time for any deceased Muslim, not only during the formal funeral prayer.

When someone we love passes, grief can leave us feeling helpless. Islam does not leave us there. Every dua we make for a deceased person is a gift that reaches them — a living connection between us and a soul that can no longer earn deeds of their own. Our supplication becomes their charity.
What Is the Dua for a Person Who Passed Away?
The dua for a person who has passed away begins with the Inna lillahi recitation upon hearing the news, continues through the Janazah prayer supplication, and extends into a lifelong personal supplication after burial. The Prophet ﷺ taught that a righteous child's dua for a deceased parent is one of the three deeds that continue to benefit the soul after death (Sahih Muslim 1631). This means every sincere supplication you make is actively reaching your loved one.
The Moment of Loss: What to Say When Someone Dies
When you hear that someone has passed, the Quran teaches one response:
إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ
Inna lillahi wa inna ilayhi raji'un
"Verily, we belong to Allah, and to Him we shall return."
— (Surah Al-Baqarah, 2:156)
This is not simply a ritual phrase. The Quran says those who respond with this statement receive salawat — blessings — and mercy from their Lord (Al-Baqarah 2:157). It is a declaration of faith, a reorientation of the heart in a moment of shock, and the Prophetic response to any news of death.
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
The Janazah Dua: Praying Directly for the Deceased
The most authenticated dua specifically made for a deceased person comes from the Janazah (funeral) prayer, narrated in Sahih Muslim:
اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ وَأَكْرِمْ نُزُلَهُ وَوَسِّعْ مُدْخَلَهُ وَاغْسِلْهُ بِالْمَاءِ وَالثَّلْجِ وَالْبَرَدِ
Allahumma ighfir lahu warhamhu wa 'afihi wa'fu 'anhu wa akrim nuzulahu wa wassi' mudkhalahu waghsilhu bil-ma'i wath-thalji wal-barad
"O Allah, forgive him, have mercy on him, grant him safety, pardon him, honor his reception, widen his entrance, and wash him with water, snow, and hail."
— (Sahih Muslim 963)
Use lahu for a male, laha for a female, lahum for a group. This dua is not restricted to the Janazah prayer — you can recite it at any time for any deceased Muslim: after your daily salah, when you think of them, or when visiting their grave.
The Ongoing Personal Dua: Praying for Parents Who Have Passed
For deceased parents specifically, the Quran itself preserves a dua:
رَّبِّ اغْفِرْ لِي وَلِوَالِدَيَّ وَلِمَن دَخَلَ بَيْتِيَ مُؤْمِنًا وَلِلْمُؤْمِنِينَ وَالْمُؤْمِنَاتِ
Rabbi ighfir li wa li walidayya wa liman dakhala baytiya mu'minan wa lil-mu'mineena wal-mu'minat
"My Lord, forgive me and my parents and whoever enters my house as a believer, and the believing men and the believing women."
— (Surah Nuh, 71:28)
This was the dua of Prophet Nuh (pbuh). The Prophet ﷺ also taught us to recite from Surah Al-Isra: Rabbi irhamhuma kama rabbayani sagheera — "My Lord, have mercy on them as they raised me when I was young" (Surah Al-Isra, 17:24). Many scholars recommend adding this to daily supplications after salah, as a lifetime practice of honoring deceased parents.
What the Quran Teaches About Praying for the Deceased
The Quran's own preserved duas show that praying for those who preceded us in death is a mark of true faith.
Surah Al-Hashr (59:10):
"And those who came after them say: Our Lord, forgive us and our brothers who preceded us in faith. Do not place any rancour in our hearts toward those who believe."
This verse describes the believers of every generation making dua for those who came before them. Praying for the deceased is woven into the identity of the ummah — a chain of mercy stretching across generations.
Surah Ibrahim (14:41):
"Our Lord, forgive me and my parents and the believers on the Day the account is established."
This was Ibrahim's (pbuh) supplication — the father of the prophets — asking forgiveness for his father who had not yet accepted faith, and for all believers. It reflects the expansiveness of dua: we can ask for our entire spiritual lineage.
See Surah Al-Hashr verse 10 on Quran.com and Surah Ibrahim verse 41 for the full context of these verses in Arabic.
Making Dua for the Deceased a Daily Habit
The Prophet ﷺ himself regularly visited graves and made dua for those buried there. He taught his companions a specific greeting for the cemetery:
As-salamu 'alaykum ahl al-diyar min al-mu'mineena wal-muslimeen, wa inna in sha Allah bikum lahiqoon, nas'alu Allaha lana wa lakum al-'afiyah
"Peace be upon you, O inhabitants of these dwellings among the believers and Muslims. We will, if Allah wills, join you. We ask Allah for well-being for us and for you."
— (Sahih Muslim 975)
Practical ways to make dua for a deceased person part of daily life:
- After each of the five daily prayers, make a brief dua for deceased parents and loved ones by name
- Include them in your nightly supplication before sleep
- Recite Al-Fatiha and make a personal dua whenever you think of them
- Give sadaqah on their behalf — charity given in their name also benefits their soul (Sahih al-Bukhari 2756)
- Visit their grave when possible, reciting the grave greeting and making personal dua
For more on supporting the deceased through supplication, see our guides on dua for parents who passed away, dua for the deceased, and how to pray Janazah.
How Dua Benefits the Deceased
Scholars across all four madhhabs affirm that the living can benefit the deceased through three pathways: dua and supplication, sadaqah given on their behalf, and recitation of the Quran with the intention of gifting the reward. The foundational hadith is clear: the Prophet ﷺ said, "When a person dies, their deeds end except for three — ongoing charity, beneficial knowledge, or a righteous child who prays for them." (Sahih Muslim 1631)
The word used — yad'u lahu, "prays for them" — is specifically supplication. Every sincere dua you make for someone who has passed is fulfilling the Prophetic tradition and actively benefiting their soul in ways we cannot fully comprehend but deeply trust.
For a complete guide on supporting a grieving family and the broader spiritual context, see our articles on how to deal with grief in Islam, dua for the funeral prayer, and Jannah dua for parents who have passed away.
Related Duas for the Deceased
| Dua | When to Recite | Arabic Opening | Source |
|---|---|---|---|
| Inna lillahi | Upon hearing of a death | إِنَّا لِلَّهِ | Al-Baqarah 2:156 |
| Janazah dua | Funeral prayer; any personal supplication | اللَّهُمَّ اغْفِرْ لَهُ | Sahih Muslim 963 |
| Dua for parents | After daily salah | رَبِّ ارْحَمْهُمَا | Surah Al-Isra 17:24 |
| Grave greeting | When visiting the cemetery | السَّلَامُ عَلَيْكُمْ | Sahih Muslim 975 |
| Ibrahim's dua | General supplication for believers | رَبَّنَا اغْفِرْ لَنَا | Surah Ibrahim 14:41 |
Do you feel your duas are unanswered?
Have you read the dua properly? Learn authentic duas, understand their meanings, and call upon Allah with greater confidence through DeenUp.
Take the Dua Quiz
Closing
The dua you make for someone who has passed away does not arrive too late, does not diminish with time, and does not go unanswered. Every time you lift your hands and say their name before Allah, you are giving them a gift. The Prophet ﷺ showed us this through his own life — returning again and again to pray for those he had loved and lost. Follow that tradition. Make their name part of your daily supplication, and trust in the mercy of the One who hears every prayer.
Frequently Asked Questions
What is the dua for a person who passed away?
The primary dua for a person who has passed away is from the Janazah prayer: Allahumma ighfir lahu warhamhu wa afihi wa'fu anhu — O Allah, forgive him, have mercy on him, grant him safety, and pardon him (Sahih Muslim 963). This supplication can be made at any time for any deceased Muslim, not only during the formal funeral prayer.
Does dua benefit a deceased person in Islam?
Yes — scholarly consensus holds that dua reaches and benefits the deceased. The Prophet ﷺ said: When a person dies, their deeds end except three — ongoing charity, beneficial knowledge, or a righteous child who prays for them (Sahih Muslim 1631). Dua is among the most powerful and lasting gifts the living can give someone who has passed.
What do you say when you first hear that someone has died?
Upon hearing of a death, recite: Inna lillahi wa inna ilayhi raji-un — Verily, we belong to Allah, and to Him we shall return (Surah Al-Baqarah, 2:156). The Quran says those who respond this way receive salawat and mercy from Allah. This statement affirms faith in the face of loss and is the Prophetic response to any news of death.
How do you make dua for parents who have passed away?
For deceased parents, recite: Allahumma ighfir li walidayya warhamhuma kama rabbayanee sagheera — O Allah, forgive my parents and have mercy on them as they raised me when I was young (from Surah Al-Isra, 17:24). This can be recited after every salah as a daily act of filial love that continues to reach them.
Can I make dua for a non-Muslim who passed away?
Islamic jurisprudence holds that dua for forgiveness cannot be made for a non-Muslim who died without faith — the Quran explicitly prohibits the Prophet ﷺ from seeking forgiveness for polytheists (Surah At-Tawbah, 9:113). However, scholars permit asking Allah for mercy and affirming one's own acceptance of His decree. This is a sensitive area where you may seek a scholar's guidance.
How long should I continue making dua for someone who has died?
There is no time limit. The Prophet ﷺ regularly made dua for deceased companions throughout his life, and scholars encourage including deceased loved ones in daily supplications indefinitely. Many Muslims recite a brief dua for deceased parents after every salah. The connection through dua does not end at burial — it is a lifelong act of love.
What surahs are recommended to recite for a deceased person?
Scholars recommend reciting Surah Al-Fatiha, Surah Al-Ikhlas three times, and Surah Yasin for a deceased person, gifting the reward of recitation to their soul. These can be accompanied by a personal dua afterward. Surah Yasin is traditionally recited by the family in the days following a death, though scholars differ on specifying this practice.