Back to the blog
A hand resting in a moment of quiet remembrance

Dua for Someone Who Passed Away: What to Say for the Deceased and the Bereaved

When someone passes away, you reach for words and often find none. You want to do something for the deceased, something for the family, and you stand there empty-handed. This page is written for exactly that moment: calm, sober, no detours. Islam does not leave you empty-handed. It tells you precisely what to say, and it promises that these words truly count.

The first thing to place on your heart is the reminder Allah gave the bereaved in the Qur'an:

“Those who, when disaster strikes them, say: "Indeed we belong to Allah, and to Him we shall return."” (Qur'an 2:156)

This is the phrase of return. It does not deny the pain, it hands it back to the One who gives and who takes.

The dua for the deceased: the funeral prayer supplication

The Prophet ﷺ taught a specific supplication for the dead, the one recited in salat al-janazah (the funeral prayer) and which you may also make for them at any time:

اللَّهُمَّ اغْفِرْ لَهُ وَارْحَمْهُ وَعَافِهِ وَاعْفُ عَنْهُ

Allāhumma-ghfir lahu warḥamhu wa ʿāfihi waʿfu ʿanhu

O Allah, forgive him, have mercy on him, keep him well and pardon him.

Muslim 963
Generate your own du'a for your situation with Nida

For a woman, make everything feminine: “lahā”, “warḥamhā”, “ʿāfihā”, “waʿfu ʿanhā”. Notice this: what you ask first for the deceased is not health or worldly success, it is forgiveness and mercy. That is now all they need.

There is also a broader supplication that covers the living and the dead of the community:

اللَّهُمَّ اغْفِرْ لِحَيِّنَا وَمَيِّتِنَا

Allāhumma-ghfir li-ḥayyinā wa mayyitinā

O Allah, forgive our living and our dead.

Abu Dawud 3201, at-Tirmidhi 1024
Generate your own du'a for your situation with Nida

A word on the funeral prayer (salat al-janazah)

Salat al-janazah is a distinctive prayer: four takbir (“Allahu akbar”), performed standing, with no bowing or prostration. After the first takbir you recite al-Fatiha, after the second the prayer upon the Prophet ﷺ (as in the tashahhud), after the third the dua for the deceased above, then the closing salam. It is a collective supplication in their favour and a real chance to do them good: the more the community prays over them sincerely, the better it is for them.

A common mistake is to think you need a “magic formula” or a long, exact litany. You don't: the heart of it is forgiveness asked with sincerity. If you don't yet know the Arabic by heart, you can make the dua in English, with the exact meaning above, while you memorise the words.

Words of condolence: what to say to the grieving family

Facing a grieving person, we are afraid of saying the wrong thing. The Prophet ﷺ himself taught a phrase, on a day when his daughter's child was dying:

“To Allah belongs what He took and to Him what He gave, and everything has with Him an appointed term.” (al-Bukhari 1284, Muslim 923)

It is a perfect foundation for condolences: it returns to Allah what is Allah's, without promising anything false. You can say it as it is, then add in your own words a dua for the deceased and for the family's patience, for example: “May Allah have mercy on them, grant you patience and reward you.” What matters most is not length, it is presence: being there, listening, and praying.

Gentleness with the bereaved matters as much as the wording. If you want to refine how you supplicate with the heart instead of reciting on autopilot, we cover it in how to make a dua that means something.

Your dua keeps benefiting them (and that is immense)

This is what many forget: death is not the end of the relationship. The Prophet ﷺ said:

“When a person dies, their deeds end, except for three: a continuing charity, beneficial knowledge, or a righteous child who prays for them.” (Muslim 1631)

Your dua for the deceased today truly rises to them, when they can no longer do anything for themselves. Seeking forgiveness in their name, a charity given for them, a good deed dedicated to them: all of it reaches them. It is the most precious gift you can still offer the dead. If it is your own parents, find the specific supplications in the dua for parents, living or deceased.

Keeping the dua alive after the burial

The real trap comes afterward. In the first days everyone prays. Then life resumes, and the deceased slowly slips out of people's duas, not for lack of love, but because we forget. That is exactly where a journal and a reminder change everything: you place the dua for your deceased in one fixed spot, and you return to it at a regular appointment, for example on Friday, the day we are encouraged to supplicate abundantly.

In Nida, you can compose a dua for your deceased in your own words, on the way of the Prophet ﷺ (never an invented verse or hadith), save it in a folder in their name, and set a gentle reminder, for example every Friday, so a week never passes again without praying for them. The ache of missing them becomes a steady act of mercy sent toward them.

Beware a widespread confusion: constant dua and charity for the deceased are legitimate and encouraged. However, large gatherings fixed as obligations on the 3rd or 40th day are not part of the Sunnah: they are added customs, not a religious duty. Supplicate whenever you wish, as much as you wish, without turning it into a rigid ritual.

In practice

Tonight, take a minute. Say “inna lillahi wa inna ilayhi raji'un,” then “Allahumma-ghfir lahu warhamhu” (or “laha” for a woman). Give a small charity in their name, however modest. And set yourself an appointment, on Friday for instance, to do it again. This relationship has not gone dark: through dua, you can still do them good, one week at a time.

FAQ

What is the dua for someone who passed away?

The best-known authentic supplication is the one the Prophet ﷺ taught in the funeral prayer: 'Allahumma-ghfir lahu warhamhu wa 'afihi wa'fu 'anhu' (O Allah, forgive him, have mercy on him, keep him well and pardon him), reported in Muslim 963. For a woman, the pronouns are made feminine ('laha', 'warhamha').

What do you say to someone who lost a loved one?

An authentic prophetic phrase is: 'Inna lillahi ma akhadha wa lahu ma a'ta, wa kullu shay'in 'indahu bi-ajalin musamma' (To Allah belongs what He took and to Him what He gave, and everything has with Him an appointed term), reported in al-Bukhari 1284, Muslim 923. You can add a dua for the deceased and for the patience of those grieving.

Does my dua really benefit the deceased?

Yes. The Prophet ﷺ said that when a person dies their deeds end except for three: a continuing charity, beneficial knowledge, or a righteous child who prays for them (Muslim 1631). Seeking forgiveness (istighfar) and charity given in their name continue to benefit them after death. It is the most precious gift you can still offer.

The du'as in this article (Arabic, transliteration, source)

Keep reading