حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيل ، حَدَّثَنِي إِسْمَاعِيل بْنُ جَعْفَرٍ الْمَدَنِيُّ ، عَنْ الْعَلَاءِ بْنِ عَبْدِ الرَّحْمَنِ ، عَنْ أَبِيهِ ، عَنْ أَبِي هُرَيْرَةَ رَضِيَ اللهُ عَنْهُ، عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ :" إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلَّا مِنْ ثَلَاثٍ : عِلْمٍ يُنْتَفَعُ بِهِ، أَوْ صَدَقَةٍ تَجْرِي لَهُ، أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ "
Musa bin Ismail told us, Ismail bin Ja’far Al-Madani told me, on the authority of Al-Ala’ bin Abdul Rahman, on the authority of his father, on the authority of Abu Hurairah May God be pleased with him, on the authority of the Prophet, may God’s prayers and peace be upon him, who said: “If a person dies, his work ceases, except for three things: knowledge that benefits him, or Charity is given to him, or a righteous child prays for him.”