[Machine] The Messenger of Allah ﷺ said: "Whenever a Muslim undergoes a trial or tribulation in his body, Allah, the Almighty, will command the angels to guard him and protect him. Write for my servant the same good deeds that he used to do while he was healthy as long as he remains confined." Abdullah ibn Ahmad said: "My father said, and Ishaq as well, write for my servant every day and night."
قَالَ رَسُولُ اللهِ ﷺ مَا أَحَدٌ مِنَ الْمُسْلِمِينَ يُبْتَلَى بِبَلَاءٍ فِي جَسَدِهِ إِلَّا أَمَرَ اللهُ ﷻ الْحَفَظَةَ الَّذِينَ يَحْفَظُونَهُ اكْتُبُوا لِعَبْدِي مِثْلَ مَا كَانَ يَعْمَلُ وَهُوَ صَحِيحٌ مَادَامَ مَحْبُوسًا فِي وَثَاقِي قَالَ عَبْدُ اللهِ [بْنُ أَحْمَدَ] قَالَ أَبِي وَقَالَ إِسْحَاقُ اكْتُبُوا لِعَبْدِي فِي كُلِّ يَوْمٍ وَلَيْلَةٍ