Uqba bin Amir reported,

The Prophet ﷺ said, "There is no day's deeds but that they are sealed upon. When a believer falls ill, the angels say, 'Our Lord, your servant so-and-so, you have confined him.' The Lord عز وجل says, 'Seal for him the like of his deeds until he recovers or dies.'"

Azami 3391

Hasan

عن عقبة بن عامر

عن النبي ﷺ، قال: ليس من عمل يوم إلا وهو يختم عليه، فإذا مرض المؤمن قالت الملائكة: يا ربنا! عبدك فلان قد حبسته، فيقول الرب عز وجل: اختموا له على مثل عمله حتى يبرأ أو يموت.

الأعظمي 3391حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Patience in tribulation and illness
Section
Sick and the traveler are credited with what they used to do while resident and healthy
Numbering
Jami al-Kamil 3391 (2nd edition)