Mishkat al-Masabih 1538
وَعَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ: دَخَلْتُ عَلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهُوَ يُوعَكُ فَمَسِسْتُهُ بِيَدِي فَقُلْتُ: يَا رَسُولَ اللَّهِ إِنَّكَ لَتُوعَكُ وَعْكًا شَدِيدًا. فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أَجَلْ إِنِّي أُوعَكُ كَمَا يُوعَكُ رَجُلَانِ مِنْكُمْ» . قَالَ: فَقُلْتُ: ذَلِكَ لِأَنَّ لَكَ أَجْرَيْنِ؟ فَقَالَ: «أَجَلْ» . ثُمَّ قَالَ: «مَا مِنْ مُسْلِمٍ يُصِيبُهُ أَذًى مِنْ مَرَضٍ فَمَا سِوَاهُ إِلَّا حَطَّ اللَّهُ تَعَالَى بِهِ سَيِّئَاتِهِ كَمَا تَحُطُّ الشَّجَرَةُ وَرَقَهَا»
From ʿAbdullah ibn Masʿud, who said: I went in to the Prophet ﷺ while he had a fever, and I touched him with my hand and said: "O Messenger of Allah, you have a very severe fever." The Prophet ﷺ said: "Yes, I have a fever like that of two men among you." He said: I said: "That is because you have a double reward?" He said: "Yes." Then he said: "There is no Muslim who is afflicted with harm from illness or anything else, except that Allah the Exalted sheds his bad deeds by it, as a tree sheds its leaves."