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)”.
Narrated It is narrated by Sayyidah Ayeshah daughter of Sad that her father Sad bin Abu Waqqas said:
I was seriously ill at Makkah and the
Prophet visited me. I said to him "Messenger of Allah, I shall leave behind me a good fortune and I have only a daughter (as my heir). Shall I bequeath two-thirds of my property to be spent in charity and leave one-third (for the heir)?" He said, "No!" Then I asked, "Shall I bequeath half and leave her half?" He again said, "No". Then I asked, "Shall I Bequeath one-third and leave two- third (for her)?" the Prophet said,"(You may bequeath) one-third, but even
one-third is much".
He then placed his hand on my forehead and passed it over my face and
stomach and made this supplication. "O Allah, cure sad and completed his
emigration." Ever since I have not ceased to sense the pleasant cool of his
hand on my liver."
Khalid bin al-Rabi, reported that when the illness of Huzayfah became serious his group and the Ansar heard of it. They visited him at night or in the (early) morning. Sayyidina Huzayfah asked, "What time is it?" They said, "It is midnight or nearing morning." He said, "I seek refuge in Allah from the morning which heralds admittance to Hell." He then asked, "Have you brought the cloth? Do no shroud me in costly (cloth), for if there is good for me with Allah then I will be given a better replacement but if it is the other way then even this will be taken away quickly".