Hadith 156

حَدَّثَنَا عَارِمٌ، قَالَ‏:‏ حَدَّثَنَا سَعِيدُ بْنُ زَيْدٍ، قَالَ‏:‏ حَدَّثَنَا سِنَانٌ أَبُو رَبِيعَةَ، قَالَ‏:‏ حَدَّثَنَا أَنَسُ بْنُ مَالِكٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ‏:‏ مَا مِنْ مُسْلِمٍ ابْتَلاَهُ اللَّهُ فِي جَسَدِهِ إِلاَّ كُتِبَ لَهُ مَا كَانَ يَعْمَلُ فِي صِحَّتِهِ، مَا كَانَ مَرِيضًا، فَإِنْ عَافَاهُ، أُرَاهُ قَالَ‏:‏ عَسَلَهُ، وَإِنْ قَبَضَهُ غَفَرَ لَهُ‏.‏ حدثنا موسى قال: حدثنا حماد بن سلمة، عن ينام عن أني، عن النبي ﷺ مثله وزاد (قال: فإن شفاه عسله).

“that the Prophet (ﷺ) said, "When Allah gives a Muslim a bodily pain, He will give him a reward as soon as he is ill, for those deeds which he was used to do when he was healthy. Thus, if Allah gives him healing, He washes him . But if he causes him to die then he forgives him”

clean of sins

Anas bin Maalik (رضي الله عنه)Al-Adab Al-Mufrad 501Adab & Virtues on Sickness