It is narrated by Ayeshah (ra) that the Prophet (ﷺ) said, "when a Muslim is afflicted by an anxiety, pain or sickness then, because of
that, his sins are atoned. So much, so that if a thorn pricks him or he suffers a simple, minor injury (His sins are forgiven)”.