-->
On return from Tabuk, the Holy Prophet was glad to see that during his absence Ali had maintained law and order satisfactorily and the hypocrites were in a chastened mood. The hypocrites had constructed a mosque, and they asked the Holy Prophet to perform the opening ceremony of the mosque. The Holy Prophet consulted Ali, who was of the view that a separate mosque for any section of the Muslims should not be patronized. Later, the Holy Prophet had a revelation advising the Holy Prophet against the patronage of the mosque. The Holy Prophet ordered the demolition of the mosque. Ali supervised the demolition of the mosque. Soon after, Abdullah b Ubayy, the leader of the hypocrites died. Thereafter his followers repented, and joined the fold of Islam as true Muslims. Ali played an important part in suppressing the activities of the hypocrites.
"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