Narrated Abu Hurairah: 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.
Hadith Referenceسنن ابي داود / كتاب الوصايا / 2880
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:صحيح مسلم (1631)
Hadith Takhrij« تفرد بہ أبو داود، (تحفة الأشراف: 14026)، وقد أخرجہ: صحیح مسلم/الوصایا 3 (1631)، سنن الترمذی/الأحکام 36 (1376)، سنن النسائی/الوصایا 8 (3681)، مسند احمد (2/316،350، 372) (صحیح) »