Sayyiduna Abu Hurairah, may Allah be pleased with him, narrates this statement of the Prophet Muhammad, peace and blessings be upon him: "When a person dies, his deeds come to an end except for three (deeds whose reward does not cease): ongoing charity, or knowledge from which benefit is derived, or a righteous child who prays for him."
Hadith Referenceصحیح ابن حبان / كتاب الجنائز وما يتعلق بها مقدما أو مؤخرا / 3016
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (2564): م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم