It wasnarrated that Abu Hurairah said:
"Mention of fever was made inthepresence of the Messenger of Allah (ﷺ), and a man cursed it. TheProphet (ﷺ) said: 'Do not curse it, for it erases sin as fireremoves filth from iron.'" (TR)
English reference (TR): Vol. 4, Book 31, Hadith 3469 (TR)
Arabic reference (TR): Book 31, Hadith 3598 (TR)