Hadith 155

is by Aishah (رضي الله عنه) that the Prophet (ﷺ) said, "when a Muslim is afflicted by an anxiety, pain or sickness, because of that, his sins are amended . Even a thorn pricks him or he suffers from a simple, minor injury.

forgiven

ItAl-Adab Al-Mufrad 498Adab & Virtues on Sickness