Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai:3651ʿAlī b. Ḥujr > Ismāʿīl > al-ʿAlāʾ from his father > Abū Hurayrah

"When a man dies all his good deeds come to an end except three: Ongoing charity (Sadaqah Jariyah), beneficial knowledge and a righteous son who prays for him."  

النسائي:٣٦٥١أَخْبَرَنَا عَلِيُّ بْنُ حُجْرٍ قَالَ حَدَّثَنَا إِسْمَاعِيلُ قَالَ حَدَّثَنَا الْعَلاَءُ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِذَا مَاتَ الإِنْسَانُ انْقَطَعَ عَمَلُهُ إِلاَّ مِنْ ثَلاَثَةٍ مِنْ صَدَقَةٍ جَارِيَةٍ وَعِلْمٍ يُنْتَفَعُ بِهِ وَوَلَدٍ صَالِحٍ يَدْعُو لَهُ  


See similar narrations below:

Collected by Muslim, Abū Dāwūd, Tirmidhī, Aḥmad, Dārimī, Ibn Ḥibbān, Nasāʾī's Kubrá, Suyūṭī
muslim:1631Yaḥyá b. Ayyūb And Qutaybah / Ibn Saʿīd And Ibn Ḥujr > Ismāʿīl > Ibn Jaʿfar > al-ʿAlāʾ from his father > Abū Hurayrah

When a man dies, his acts come to an end, but three, recurring charity, or knowledge (by which people) benefit, or a pious son, who prays for him (for the deceased).  

مسلم:١٦٣١حَدَّثَنَا يَحْيَى بْنُ أَيُّوبَ وَقُتَيْبَةُ يَعْنِي ابْنَ سَعِيدٍ وَابْنُ حُجْرٍ قَالُوا حَدَّثَنَا إِسْمَاعِيلُ هُوَ ابْنُ جَعْفَرٍ عَنِ الْعَلاَءِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِذَا مَاتَ الإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلاَّ مِنْ ثَلاَثَةٍ إِلاَّ مِنْ صَدَقَةٍ جَارِيَةٍ أَوْ عِلْمٍ يُنْتَفَعُ بِهِ أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ  

abudawud:2880al-Rabīʿ b. Sulaymān al-Muʾadhhin > Ibn Wahb > Sulaymān / Ibn Bilāl > al-ʿAlāʾ b. ʿAbd al-Raḥman Urāh from his father > Abū Hurayrah

The Messenger of Allah ﷺ as saying: When a man dies, his action discontinues from him except three things, namely, perpetual sadaqah (charity), or the knowledge by which benefit is acquired, or a pious child who prays for him.  

أبو داود:٢٨٨٠حَدَّثَنَا الرَّبِيعُ بْنُ سُلَيْمَانَ الْمُؤَذِّنُ حَدَّثَنَا ابْنُ وَهْبٍ عَنْ سُلَيْمَانَ يَعْنِي ابْنَ بِلاَلٍ عَنِ الْعَلاَءِ بْنِ عَبْدِ الرَّحْمَنِ أُرَاهُ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِذَا مَاتَ الإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلاَّ مِنْ ثَلاَثَةِ أَشْيَاءَ مِنْ صَدَقَةٍ جَارِيَةٍ أَوْ عِلْمٍ يُنْتَفَعُ بِهِ أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ  

tirmidhi:1376ʿAlī b. Ḥujr > Ismāʿīl b. Jaʿfar > al-ʿAlāʾ b. ʿAbd al-Raḥman from his father > Abū Hurayrah

"When a person dies, his deeds are cut off except for three: Continuing charity, knowledge that others benefited from, and a righteous son who supplicates for him."  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Ṣaḥīḥ.
الترمذي:١٣٧٦حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ أَخْبَرَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ عَنِ الْعَلاَءِ بْنِ عَبْدِ الرَّحْمَنِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ ؓ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ إِذَا مَاتَ الإِنْسَانُ انْقَطَعَ عَمَلُهُ إِلاَّ مِنْ ثَلاَثٍ صَدَقَةٌ جَارِيَةٌ وَعِلْمٌ يُنْتَفَعُ بِهِ وَوَلَدٌ صَالِحٌ يَدْعُو لَهُ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ
ahmad:8844Sulaymān b. Dāwud > Ismāʿīl > al-ʿAlāʾ from his father > Abū Hurayrah

When a man dies, his acts come to an end, but three, recurring charity, or knowledge (by which people) benefit, or a pious son, who prays for him (for the deceased). (Using translation from Muslim 1631)  

أحمد:٨٨٤٤حَدَّثَنَا سُلَيْمَانُ بْنُ دَاوُدَ أَخْبَرَنَا إِسْمَاعِيلُ أَخْبَرَنِي الْعَلَاءُ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ النَّبِيَّ ﷺ قَالَ إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلَّا مِنْ ثَلَاثٍ إِلَّا مِنْ صَدَقَةٍ جَارِيَةٍ أَوْ عِلْمٍ يُنْتَفَعُ بِهِ أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ  

darimi:578Mūsá b. Ismāʿīl > Ismāʿīl b. Jaʿfar al-Madanī > al-ʿAlāʾ b. ʿAbd al-Raḥman from his father > Abū Hurayrah

The Messenger of Allah ﷺ as saying: When a man dies, his action discontinues from him except three things, namely, perpetual sadaqah (charity), or the knowledge by which benefit is acquired, or a pious child who prays for him. (Using translation from Abū Dāʾūd 2880)   

الدارمي:٥٧٨حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ حَدَّثَنِي إِسْمَاعِيلُ بْنُ جَعْفَرٍ الْمَدَنِيُّ عَنِ الْعَلَاءِ بْنِ عَبْدِ الرَّحْمَنِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ قَالَ إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَمَلُهُ إِلَّا مِنْ ثَلَاثٍ عِلْمٍ يُنْتَفَعُ بِهِ أَوْ صَدَقَةٍ تَجْرِي لَهُ أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ  

ذِكْرُ الْبَيَانِ بِأَنَّ عُمُومَ هَذِهِ اللَّفْظَةِ انْقَطَعَ عَمَلُهُ لَمْ يُرِدْ بِهَا كُلَّ الْأَعْمَالِ

ibnhibban:3016ʿAbdullāh b. Muḥammad b. Hājik al-Harawī > ʿAlī b. Ḥujr > Ismāʿīl b. Jaʿfar > al-ʿAlāʾ from his father > Abū Hurayrah

When a man dies, his acts come to an end, but three, recurring charity, or knowledge (by which people) benefit, or a pious son, who prays for him (for the deceased). (Using translation from Muslim 1631)  

ابن حبّان:٣٠١٦أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ هَاجِكٍ الْهَرَوِيُّ حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ عَنِ الْعَلَاءِ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ النَّبِيَّ ﷺ قَالَ «إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَمَلُهُ إِلَّا مِنْ ثَلَاثٍ صَدَقَةٍ جَارِيَةٍ أَوْ عِلْمٍ يُنْتَفَعُ بِهِ أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ»  

nasai-kubra:6445ʿAlī b. Ḥujr > Ismāʿīl > al-ʿAlāʾ from his father > Abū Hurayrah

The Messenger of Allah ﷺ as saying: When a man dies, his action discontinues from him except three things, namely, perpetual sadaqah (charity), or the knowledge by which benefit is acquired, or a pious child who prays for him. (Using translation from Abū Dāʾūd 2880)  

الكبرى للنسائي:٦٤٤٥أَخْبَرَنَا عَلِيُّ بْنُ حُجْرٍ قَالَ حَدَّثَنَا إِسْمَاعِيلُ قَالَ حَدَّثَنَا الْعَلَاءُ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا مَاتَ الْإِنْسَانُ انْقَطَعَ عَنْهُ عَمَلُهُ إِلَّا مِنْ ثَلَاثَةٍ مِنْ صَدَقَةٍ جَارِيَةٍ أَوْ عِلْمٍ يُنْتَفَعُ بِهِ أَوْ وَلَدٍ صَالِحٍ يَدْعُو لَهُ  

suyuti:2610a

The Messenger of Allah ﷺ as saying: When a man dies, his action discontinues from him except three things, namely, perpetual sadaqah (charity), or the knowledge by which benefit is acquired, or a pious child who prays for him. (Using translation from Abū Dāʾūd 2880)   

السيوطي:٢٦١٠a

"إذَا ماتَ الإِنْسانُ انقطعَ عملُهُ إلَّا مِنْ ثلاثةٍ؛ إلا مِنْ صدقةٍ جاريةٍ، أو علمٍ يُنتفعُ به، أو ولدٍ صالحٍ يدْعُو لَهُ" .  

[حم] أحمد [خ] البخاري في الأدب، [م] مسلم [د] أبو داود [ت] الترمذي [ن] النسائي عن أبي هريرة