It wasnarrated from Anas that the Messenger of Allah (ﷺ) said:
"Envyconsumes good deeds just as fire consumes wood, and charityextinguishes bad deeds just as water extinguishes fire. Prayer is thelight of the believer and fasting is a shield against the Fire." (ES)
English reference (ES): Vol. 5, Book 37, Hadith 4210 (ES)
Arabic reference (ES): Book 37, Hadith 4350 (ES)