Profeten (saw)
Abu Hurayrah quoted the Messenger of Allah, upon whom be peace, as saying:
"When a man dies, his acts come to an end, except in three cases: an ongoing charity, knowledge from which people continue to benefit, and a righteous child who prays for him."
"När en man dör, har hans handlingar kommit till ett slut, utom i tre fall: en pågående välgörenhet, kunskap som människor fortsätter att gynnas ifrån, och ett rättfärdigt barn som ber för honom."
[Sahih Muslim, vol. 3, p. 867, no. 4005, and Sunan Abu Dawud, vol. 2, p. 812, no. 2874]