Skip to main content
Islamic Portal
Join freeJoin free
Islamic Portal
Explore everything
Theme

The question

What can we do that benefits a Muslim after they have died?

The short answer

A person's own deeds end at death except for ongoing charity, beneficial knowledge and a righteous child who prays for them. The living can also benefit the deceased through dua and seeking forgiveness for them, giving charity on their behalf, paying their debts, and performing Hajj for them. Scholars differ over whether the reward of other acts, such as Quran recitation, reaches the deceased.

The detail

The Prophet ﷺ taught that when a person dies, their deeds come to an end except for three: ongoing charity (sadaqah jariyah), knowledge from which others benefit, and a righteous child who prays for them. This hadith encourages both the living, to leave such legacies, and the bereaved, who can continue them.

Dua and seeking forgiveness. The Quran praises later believers who ask their Lord to forgive them and their brothers and sisters who went before them in faith (59:10), and commands the Prophet ﷺ to seek forgiveness for the believing men and women (47:19). Scholars agree that dua for the deceased benefits them, whether made by children, relatives or any Muslim.

Charity. A man told the Prophet ﷺ that his mother had died suddenly and that he thought she would have given charity had she been able to speak; he asked whether she would be rewarded if he gave on her behalf, and the Prophet ﷺ said yes. Building a well, sponsoring an orphan, funding a mosque or Islamic school, or distributing copies of the Quran in someone's name are common forms of this.

Debts and obligations. Paying the deceased's debts relieves them, and Hajj may be performed on their behalf, usually by someone who has already performed their own; the schools differ on when this is required and on its conditions. Regarding missed fasts, the Prophet ﷺ said that if a person dies owing fasts, their guardian may fast on their behalf; the schools differ on how to apply this, as explained below.

The Quran also states that a person has only what they strove for (53:39). Scholars reconcile this with the texts above in different ways, for example by noting that a righteous child and the good one inspired in others are themselves part of a person's striving, or that the verse concerns what one is owed by right, while Allah may add to it by His grace.

Primary references

The Quran and hadith this answer rests on, quoted from the stored texts with their references.

From the Quran

Quoted from the stored Quran text with the translation named below each verse.

وَٱلَّذِينَ جَآءُو مِنۢ بَعْدِهِمْ يَقُولُونَ رَبَّنَا ٱغْفِرْ لَنَا وَلِإِخْوَٰنِنَا ٱلَّذِينَ سَبَقُونَا بِٱلْإِيمَٰنِ وَلَا تَجْعَلْ فِى قُلُوبِنَا غِلًّۭا لِّلَّذِينَ ءَامَنُوا۟ رَبَّنَآ إِنَّكَ رَءُوفٌۭ رَّحِيمٌ

And those who came (into the faith) after them say: Our Lord! Forgive us and our brethren who were before us in the faith, and place not in our hearts any rancour toward those who believe. Our Lord! Thou art Full of Pity, Merciful.

Al-Hashr 59:10 · Marmaduke Pickthall (en.pickthall)
فَٱعْلَمْ أَنَّهُۥ لَآ إِلَٰهَ إِلَّا ٱللَّهُ وَٱسْتَغْفِرْ لِذَنۢبِكَ وَلِلْمُؤْمِنِينَ وَٱلْمُؤْمِنَٰتِ ۗ وَٱللَّهُ يَعْلَمُ مُتَقَلَّبَكُمْ وَمَثْوَىٰكُمْ

So know (O Muhammad) that there is no Allah save Allah, and ask forgiveness for thy sin and for believing men and believing women. Allah knoweth (both) your place of turmoil and your place of rest.

Muhammad 47:19 · Marmaduke Pickthall (en.pickthall)
وَأَن لَّيْسَ لِلْإِنسَٰنِ إِلَّا مَا سَعَىٰ

And that man hath only that for which he maketh effort,

An-Najm 53:39 · Marmaduke Pickthall (en.pickthall)

From the hadith

Each hadith is quoted as stored, with its collection, number and the reference and grade the edition gives.

Abu Hurairah (May Allah be pleased with him) reported: The Messenger of Allah (ﷺ) said, "When a man dies, his deeds come to an end except for three things: Sadaqah Jariyah (ceaseless charity); a knowledge which is beneficial, or a virtuous descendant who prays for him (for the deceased)."
Show the Arabic

وعنه قال: قال رسول الله صلى الله عليه وسلم : "إذا مات ابن آدم انقطع عمله إلا من ثلاث: صدقة جارية ،أو علم ينتفع به، أو ولد صالح يدعو له" ((رواه مسلم)).

Riyad us-Saliheen, No. 1383 · Related by Muslim (رواه مسلم) Grade: Sahih
'Aishah (May Allah be pleased with her) reported: A man said to the Prophet (ﷺ): "My mother has died suddenly. I think that if she were able to talk (alive) she would have given in Sadaqah (charity). So, if I give Sadaqah now on her behalf, will she get the reward?" The Messenger of Allah (ﷺ) said, "Yes (she will be rewarded for that)."
Show the Arabic

وعن عائشة رضي الله عنها أن رجلاً قال للنبي صلى الله عليه وسلم : إن أمي افتلتت نفسها وأراها لو تكلمت، تصدقت، فهل لها أجر إن تصدقت عنها؟ قال: "نعم" ((متفق عليه))

Riyad us-Saliheen, No. 948 · Agreed upon (al-Bukhari and Muslim) (متفق عليه) Grade: Sahih
'Aishah (May Allah be pleased with her) said: The Prophet (ﷺ) said, "If a person dies without observing Saum (fasts), his Wali should make it up on his behalf."
Show the Arabic

وعنها رضي الله عنها عن النبي صلى الله عليه وسلم قال: "من مات وعليه صوم، صام عنه وليه" ((متفق عليه)).

Riyad us-Saliheen, No. 1858 · Agreed upon (al-Bukhari and Muslim) (متفق عليه) Grade: Sahih

Further sources

Written for Islamic Portal from the Quran and hadith cited above; school positions as commonly taught in the standard manuals of each school.

What scholars say

Scholars agree that dua, charity, paying debts and Hajj on behalf of the deceased benefit them. The main debate is over 'gifting' the reward of other voluntary worship, especially Quran recitation, to the deceased. Many scholars accept it, particularly when the reciter asks Allah in dua to grant the reward to the deceased. Others limit benefit to the acts mentioned in the texts. Many scholars also criticise customs such as paying people to recite Quran for the dead or fixing gatherings on particular days, while still accepting that sincere recitation followed by dua is good.

Where the schools differ

The four Sunni schools of law. Follow the school you were taught, or ask a scholar you trust.

The four schools agree that dua, charity and payment of debts benefit the deceased, and that Hajj may be performed on their behalf, though they differ over its conditions (for example, the Maliki school allows it mainly when the deceased bequeathed it). They also differ on fasting on behalf of the deceased and on whether the reward of Quran recitation reaches them.

Hanafi
The reward of any good deed, including Quran recitation, may be gifted to the deceased and reaches them. No one fasts on behalf of the deceased; instead, food is given for each missed day (fidyah) if they bequeathed it.
Shafi'i
The well-known classical position is that the reward of Quran recitation does not reach the deceased by itself, but later scholars of the school held that it does when the reciter follows it with dua asking Allah to grant the reward. In the school's later (new) position a missed fast is compensated by feeding, while its earlier position, preferred by al-Nawawi and others on the basis of the hadith, allows a relative to fast on the deceased's behalf.
Maliki
The classical position is that bodily acts of worship such as recitation and fasting are not done on behalf of others, and that their reward does not transfer; many later Maliki scholars were more accepting of recitation for the deceased. No one fasts on behalf of the deceased.
Hanbali
The reward of any good deed, including Quran recitation, reaches the deceased when gifted to them. A relative may fast on the deceased's behalf for fasts they had vowed; missed Ramadan fasts are compensated by feeding.

In practice

  • After their father's death, three siblings fund a water well in his name and make dua for him after each prayer.
  • A daughter performs Hajj on behalf of her late mother after completing her own Hajj.
  • A family settles their late uncle's outstanding loans before distributing the estate.

Common misunderstandings

  • Once someone dies, nothing more can be done for them. Dua, charity and paying their debts benefit them by agreement of the scholars, and Hajj can be performed on their behalf.
  • Only paid reciters or special gatherings can help the deceased. Any sincere Muslim's dua and charity benefit them; no fixed ceremony is required.
A short lesson

Suggested lessons

Courses, lessons and guides that teach this topic step by step.

Review and provenance

Written by
Islamic Portal editorial team
Added
10 November 2026

Corrections

No corrections have been needed.

Our editorial standards