Hazrat Anas, Allah be pleased with him, narrates that the Holy Prophet Muhammad, peace and blessings of Allah be upon him, said:
“Envy consumes good deeds just as fire consumes wood, and charity extinguishes bad deeds just as water extinguishes fire. Prayer is the light of the believer and fasting is a shield against the Fire.”
(Sunan Ibn Majah, Kitab al-Zuhd)