Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "If Allah wants to do good to somebody, He afflicts him with trials."
Narrated Abu Sa`id Al-Khudri and Abu Huraira:
The Prophet (ﷺ) said, "No fatigue, nor disease, nor sorrow, nor sadness, nor hurt, nor distress befalls a Muslim, even if it were the prick he receives from a thorn, but that Allah expiates some of his sins for that."
Narrated `Abdullah bin Mas`ud:
I visited Allah's Messenger (ﷺ) while he was suffering from a high fever. I touched him with my hand and said, "O Allah's Messenger! You have a high fever." Allah's Messenger (ﷺ) said, "Yes, I have as much fever as two men of you have." I said, "Is it because you will get a double reward?" Allah's Messenger (ﷺ) said, "Yes, no Muslim is afflicted with harm because of sickness or some other inconvenience, but that Allah will remove his sins for him as a tree sheds its leaves."
Narrated Ibn Mas`ud:
I visited the Prophet (ﷺ) while he was having a high fever. I touched him an said, "You have a very high fever" He said, "Yes, as much fever as two me of you may have." I said. "you will have a double reward?" He said, "Yes No Muslim is afflicted with hurt caused by disease or some other inconvenience, but that Allah will remove his sins as a tree sheds its leaves."