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