The Messenger of Allah, peace be upon him, said:
When a person dies, their deeds come to an end except for three: continuous charity, beneficial knowledge, or a righteous child who prays for them.
Narrated by: Abu Huraira • Muslim • Sahih Muslim •
Page or number: 1631
Summary of the hadith's ruling: [Sahih]