[Machine] The Messenger of Allah ﷺ said: When someone dies, their deeds cease except for three things: ongoing charity, beneficial knowledge, or a righteous child who prays for them. This hadith was narrated by Abu Abdullah Al-Hafiz, who was informed by Abu Al-Nadr Al-Faqih, who was informed by Muhammad Ibn Nasr, who was informed by Ali Ibn Hujr, who was informed by Ismail Ibn Jafar. Abu Bakr Muhammad Ibn Bakr Al-Tusi, a jurist, narrated it from Abu Bashir Muhammad Ibn Ahmad Al-Hadiri, who narrated it from Abu Abbas Al-Sarraj, who narrated it from Abu Hammam Al-Sukuni, and Al-Hussein Ibn Al-Dhahhak, who said that Ismail narrated it from Al-Ala in a similar manner.
أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلَّا مِنْ ثَلَاثَةِ أَشْيَاءٍ مِنْ صَدَقَةٍ جَارِيَةٍ أَوْ عِلْمٍ يُنْتَفَعُ بِهِ أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ 12636 وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي أَبُو النَّضْرِ الْفَقِيهُ ثنا مُحَمَّدُ بْنُ نَصْرٍ ثنا عَلِيُّ بْنُ حُجْرٍ ثنا إِسْمَاعِيلُ بْنُ جَعْفَرٍ ح وَأَخْبَرَنَا أَبُو بَكْرٍ مُحَمَّدُ بْنُ بَكْرٍ الطُّوسِيُّ الْفَقِيهُ ثنا أَبُو بِشْرٍ مُحَمَّدُ بْنُ أَحْمَدَ الْحَاضِرِيُّ ثنا أَبُو الْعَبَّاسِ السَّرَّاجُ ثنا أَبُو هَمَّامٍ السَّكُونِيُّ وَالْحُسَيْنُ بْنُ الضَّحَّاكِ قَالَا ثنا إِسْمَاعِيلُ عَنِ الْعَلَاءِ فَذَكَرَهُ بِنَحْوِهِ