حَدَّثَنَا قَبِيصَةُ بْنُ عُقْبَةَ، قَالَ‏:‏ حَدَّثَنَا سُفْيَانُ، عَنْ عَلْقَمَةَ بْنِ مَرْثَدٍ، عَنِ الْقَاسِمِ بْنِ مُخَيْمِرَةَ، عَنْ عَبْدِ اللهِ بْنِ عَمْرٍو، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ‏:‏ مَا مِنْ أَحَدٍ يَمْرَضُ، إِلاَّ كُتِبَ لَهُ مِثْلُ مَا كَانَ يَعْمَلُ وَهُوَ صَحِيحٌ‏.‏
Copy

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)."