Abdullah bin Masud reported,

I came in to see the Messenger of Allah ﷺ while he was suffering from a severe fever. I touched him with my hand and said, "Messenger of Allah, you are burning with a violent fever."The Messenger of Allah ﷺ replied, "Yes, I suffer fever as two men among you would suffer."I said, "That is because you have a double reward."The Messenger of Allah ﷺ said, "Yes, indeed."Then the Messenger of Allah ﷺ said, "There is no Muslim afflicted by the harm of illness or anything else without Allah causing his sins to fall away from him as a tree sheds its leaves."

Bukhari 5660

Sahih

حدثنا قتيبة حدثنا جرير عن الأعمش عن إبراهيم التيمي عن الحارث بن سويد قال قال

عبد الله بن مسعود

دخلت على رسول الله ﷺ وهو يوعك وعكا شديدا فمسسته بيدي فقلت يا رسول الله إنك لتوعك وعكا شديدا فقال رسول الله ﷺ أجل إني أوعك كما يوعك رجلان منكم فقلت ذلك أن لك أجرين فقال رسول الله ﷺ أجل ثم قال رسول الله ﷺ ما من مسلم يصيبه أذى مرض فما سواه إلا حط الله له سيئاته كما تحط الشجرة ورقها

البخاري 5660صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sick
Chapter
Placing the hand on the sick
Numbering
Darussalam 5660
Bukhari 5660