مختصر صحيح مسلم
Mukhtasar Sahih Muslim
Issues of Endowments
What rewards reach a person after death?
It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, said: "When a person dies, his deeds come to an end except for three things: ongoing charity, knowledge from which people benefit, and a righteous child who prays for him."
تخریج الحدیث: