Verse 21 of Sura 45 reads {45:21}: "Do those who commit evil deeds suppose that We shall treat them like those who believe and do good deeds-that their lives and their deaths shall be equal. No, bad is their judgment".
According to Ibn Abbas "the doers of good" referred to in this verse refer to Ali, Hamza and Ubaydah b Harith.
"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"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."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari