AHMAD 6482:
from ʿAbdullāh b. ʿAmr —
[Machine] From the Prophet ﷺ said, "No person is afflicted with a calamity in his body except that Allah, the Almighty, commands the angels who are guarding him, saying, 'Write down for my servant in every day and night the good deeds he used to perform.”
أحمد ٦٤٨٢:
عن عبد الله بن عمرو —
عَنِ النَّبِيِّ ﷺ قَالَ مَا أَحَدٌ مِنَ النَّاسِ يُصَابُ بِبَلَاءٍ فِي جَسَدِهِ إِلَّا أَمَرَ اللهُ ﷻ الْمَلَائِكَةَ الَّذِينَيَحْفَظُونَهُ فَقَالَ اكْتُبُوا لِعَبْدِي فِي كُلِّ يَوْمٍ وَلَيْلَةٍ مَا كَانَ يَعْمَلُ مِنْ خَيْرٍ مَا كَانَ فِي وِثَاقِي
hadithunlocked.com