Hadithcore
Riyad as-Salihin, 37

Abu Sa'id and Abu Hurairah (May Allah be pleased with him) reported that the Prophet (ﷺ) said:

"Never a believer is stricken with a discomfort, an illness, an anxiety, a grief or mental worry or even the pricking of a thorn but Allah will expiate his sins on account of his patience". <b>[Al-Bukhari and Muslim]</b>.

وعن أبي سعيد وأبي هريرة رضي الله عنهما عن النبي صلى الله عليه وسلم قال‏:‏ ‏

‏ما يصيب المسلم من نصب ولا وصب ولا هم ولا حزن ولا أذى ولا غم، حتى الشوكة يشاكها إلا كفر الله بها من خطاياه‏

‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏ '‏و‏ ‏الوصب‏ ‏':‏ المرض .‏

References1 variant
In-Book Reference
Introduction, Hadith 37
Sharh · explanationclick to expand
<b>Guidance from the Hadiiths:</b><br> 1) One of the aspects of Allah’s mercy towards His servant is that He expiates some of his sins by what he suffers of grief, distress, fatigue, and illness among others.<br> 2) The more the believer suffers sickness and harm and he is patient with it, the greater the reward Allah grants him and expiates his sins thereby.<br> 3) The individual should not make himself suffer both the harm and the loss of reward due to impatience; it is obligatory at times of distress to adhere to patience and avoid discontentment.