THREE THINGS THAT REMAIN AFTER DEATH H 1412 "When a person dies his actions come to an end except in three matters that he leaves behind: Continuous charity. Knowledge from which benefit can be derived. A virtuous son who prays for him." R 1412 Muslim with a chain up to Abu Hurairah who related that the Messenger of Allah, praise and peace be upon him, said this.
1383- وعنه قَالَ : قَالَ رسول الله صلى الله عليه وآله وسلم : "إِذَا مَاتَ ابْنُ آدَمَ انْقَطَعَ عَمَلُهُ إِلاَّ مِنْ ثَلاثٍ : صَدَقَةٍ جَارِيَةٍ ، أَوْ عِلْمٍ يُنْتَفَعُ بِهِ ، أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ" . رواه مسلم .