Abu Musa Ashari reported,

I heard the Messenger of Allah ﷺ say, "When a servant falls ill or travels, there is recorded for him the equivalent of what he used to do when he was at home and in good health."

Azami 3387

Sahih

عن أبي موسى قال

سمعت رسول الله ﷺ يقول: إذا مرض العبد أو سافر، كتب له مثل ما كان يعمل مقيما صحيحا.

الأعظمي 3387صحيح
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 3387 (2nd edition)
Azami 3387