Hadith 1145
Sayyiduna Abu Musa (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) said: "When a Muslim man falls ill or sets out on a journey, his good deeds are recorded for him just as he used to do them when he was healthy and residing."