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." (AR)
English reference (AR): Vol. 5, Book 37, Hadith 4210 (AR)
Arabic reference (AR): Book 37, Hadith 4350 (AR)