Mishkat al-Masabih 1583
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: ذُكِرَتِ الْحُمَّى عِنْدَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَسَبَّهَا رَجُلٌ فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا تَسُبَّهَا فَإِنَّهَا تَنْفِي الذُّنُوبَ كَمَا تَنْفِي النَّارُ خَبَثَ الْحَدِيدِ» . رَوَاهُ ابْن مَاجَه
From Abu Hurayrah, may Allah be pleased with him, who said: Fever was mentioned in the presence of the Messenger of Allah ﷺ, and a man reviled it. The Prophet ﷺ said: "Do not revile it, for it removes sins just as fire removes the impurities of iron." Reported by Ibn Majah.