The Holy Prophet summoned Ali, and asked him to proclaim the revealed verses to the people on the day of sacrifice when they assembled at Mina. Ali went forth on the Holy Prophet's slit-eared camel, and soon overtook Abu Bakr and his party. When Ali joined the party, Abu Bakr wanted to know whether he had come to give orders or to convey them. Ali said that he had not come to replace Abu Bakr as "Amir ul-Hajj", and that his mission was merely to convey a special message to the people on behalf of the Holy Prophet,
"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