Hadith 6

Mishkat al-Masabih

Book 2: Knowledge

Chapter 1

- Section 1

باب - الفصل الأول

Mishkat al-Masabih 203
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَمَلُهُ إِلَّا مِنْ ثَلَاثَةِ أَشْيَاءَ: صَدَقَةٍ جَارِيَةٍ أوعلم ينْتَفع بِهِ أوولد صَالح يَدْعُو لَهُ) رَوَاهُ مُسلم
Abu Huraira reported God’s messenger as saying, “When a man dies no further reward is recorded for his actions, with three exceptions:

sadaqa which continues to be supplied, or knowledge from which benefit continues to be reaped, or the prayers of a good son for his dead father.” Muslim transmitted it.