According to the commentators of the Holy Quran there are numerous verses in the Holy Quran which have implied references to Ali. According to the Shia commentators there are as many as three hundred verses of the Holy Quran which have an implied reference to Ali. According to the Sunni commentators, the number is much smaller. Some of the verses which according to the consensus of the commentator refer to Ali are given hereunder:
"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