Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When a person dies, all their deeds come to an end except for three: an ongoing charity, knowledge that benefits others, and a righteous child who prays for them."

Nasai 3681

Sahih

أخبرنا علي بن حجر قال حدثنا إسمعيل قال حدثنا العلاء عن أبيه

عن أبي هريرة

أن رسول الله ﷺ قال إذا مات الإنسان انقطع عمله إلا من ثلاثة من صدقة جارية وعلم ينتفع به وولد صالح يدعو له

النسائي 3681صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Bequests
Chapter
Virtue of charity on behalf of the deceased
Numbering
Darussalam 3681
Nasai 3681