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.'" (RU)
English reference (RU): Vol. 4, Book 31, Hadith 3469 (RU)
Arabic reference (RU): Book 31, Hadith 3598 (RU)