Hadith 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.
Hadith Reference مشكوة المصابيح / كتاب العلم / 203
Hadith Grading الألبانی: صحيح  |  زبیر علی زئی: صحيح
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «رواه مسلم (14/ 1631)»