Jabir reported: The Messenger of Allah, peace and blessings be upon him, said, “No believing man or woman, nor Muslim man or woman, is afflicted with illness but that Allah will curtail some of their sins.”
Source: al-Adab al-Mufrad 508
Grade: Sahih (authentic) according to Al-Albani
عَنْ جَابِرٍ قَالَ قَالَ رَسُولُ اللهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا مِنْ مُؤْمِنٍ وَلَا مُؤْمِنَةٍ وَلَا مُسْلِمٍ وَلَا مَسْلَمَةٍ يَمْرَضُ مَرَضًا إِلَّا قَصَّ اللَّهُ بِهِ عَنْهُ مِنْ خَطَايَاهُ
508 الأدب المفرد باب يكتب للمريض ما كان يعمل وهو صحيح
393 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الأدب المفرد