Narrated Hisham reported that his father ('Urwa ibn az-Zubayr) said, "'Abdullah
ibn az-Zubayr and I went to visit Asma' ten nights before 'Abdullah was
killed. Asma' was in pain and 'Abdullah asked her, 'How are you feeling?'
'In pain,' she replied. He said, 'I am near death.' She said, 'Perhaps
you desire m:
either
you will be killed and I will leave you to Allah or you will win and I
will be content. Beware of having your portion presented to you and then
you do not agree with it. Accept it, even though you dislike death."
حَدَّثَنَا عُمَرُ، قَالَ: حَدَّثَنَا أَبِي، قَالَ: حَدَّثَنَا الأَعْمَشُ قَالَ: حَدَّثَنِي أَبُو سُفْيَانَ، عَنْ جَابِرٍ قَالَ: سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ: مَا مِنْ مُؤْمِنٍ وَلاَ مُؤْمِنَةٍ، وَلاَ مُسْلِمٍ وَلاَ مَسْلَمَةٍ، يَمْرَضُ مَرَضًا إِلاَّ قَصَّ اللَّهُ بِهِ عَنْهُ مِنْ خَطَايَاهُ.
It is narrated by Jabir that he heard the Messenger of Allah (ﷺ) say, "If a believing man or a believing woman or a Muslim man or Muslim woman falls ill then Allah, the exalted, forgives them their sins (because of their illness)."
Abu Sa'id al-Khudri reported that he came to the Messenger of Allah,
may Allah bless him and grant him peace, while he had a fever. He had a
covering over him. He placed his hand on him and discovered that it was
hot above the covering. Abu Sa'id exclaimed, 'How hot your fever is, Messenger
of Allah!' He said, 'We are like that. The affliction is hard on us, but
the reward is doubled for us.' He said, 'Messenger of Allah, which people
have the greatest affliction?' He replied, 'The Prophets, and then the
righteous. One of them was tested by poverty to such an extent that he
could only find a robe to cover himself with and he wore it. Another was
tested by fleas until they killed him. They have greater joy in affliction
than one of you has in gifts."
Abu Hurayrah reported the Messenger of Allah (ﷺ) as saying, "if a thorn pricks a Muslim in this world and he hopes for the reward against it then Allah forgives him his sins on the day of Resurrection".