[Machine] The Messenger of Allah ﷺ said, "When Allah afflicts a Muslim servant with an illness in his body, He says to the angels, 'Write down for him the reward of his righteous actions that he used to do. If He heals him, He washes him and purifies him, and if He takes his life, He forgives him and has mercy on him."
أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا ابْتَلَى اللهُ الْعَبْدَ الْمُسْلِمَ بِبَلَاءٍ فِي جَسَدِهِ قَالَ لِلْمَلَكِ اكْتُبْ لَهُ صَالِحَ عَمَلِهِ الَّذِي كَانَ يَعْمَلُ فَإِنْ شَفَاهُ غَسَلَهُ وَطَهَّرَهُ وَإِنْ قَبَضَهُ غَفَرَ لَهُ وَرَحِمَهُ