Abu Qatadah reported: The Messenger of Allah, peace and blessings be upon him, said, "The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."