“When a son of Adam dies, his acts come to an end, but three things continue as a legacy: knowledge that helps others, children who pray for his forgiveness, and charity that continues to benefit.”

Muhammad Sahih Muslim 1631 (narrator: Abu Huraira) — Grade: Sahih (authentic), also in Sunan an-Nasa'i 3651 and others