Riyad as-Salihin, Book 1, Hadith 133 (In-Book)

Abu Musa Al-Ash'ari (May Allah be pleased with him) reported: Messenger of Allah said, "When a slave of Allah suffers from illness or sets on a journey, he is credited with the equal of whatever good works he used to do when he was healthy or at home".[Al-Bukhari].

السابع عشر‏:‏ عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏‏ "‏ إذا مرض العبد أو سافر كتب له مثل ما كان يعمل مقيماً صحيحاً‏" ‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏

sunnah.com