When a person dies, his deeds come to an end except for three: an ongoing charity, beneficial knowledge, or a righteous child who prays for him.
Sahih Muslim 1631
Sahih Muslim 1631

“When a person dies, his deeds come to an end except for three: an ongoing charity, beneficial knowledge, or a righteous child who prays for him.”

The Prophet (may Allah's peace and blessings be upon him) informed that the deeds of a person come to a halt when he dies.

The plain meaning, from HadeethEnc

The full passage

عَنْ أَبِي هُرَيْرَةَ رضي الله عنه أَنَّ رَسُولَ اللهِ صلى الله عليه وسلم قَالَ: «إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلَّا مِنْ ثَلَاثَةٍ: إِلَّا مِنْ صَدَقَةٍ جَارِيَةٍ، أَوْ عِلْمٍ يُنْتَفَعُ بِهِ، أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ».

Abu Hurayrah (may Allah be pleased with him) reported: The Messenger of Allah (may Allah's peace and blessings be upon him) said: "When a person dies, his deeds come to an end except for three things: ongoing charity, beneficial knowledge, or a pious child who supplicates for him."

Sahih Muslim 1631The Arabic it was clipped from
The explanation

What does Sahih Muslim 1631 mean?

Narrated by Abu Hurayrah and recorded by Muslim. What the three have in common, the commentators point out, is that the person set them going and they keep going without him — a well dug, a book written or a student taught, a child raised. The hadith does not say his reward continues; it says his deeds do, because he is still their cause.

Written from HadeethEnc

Where it sits