Hadith 1147
Sayyiduna Abu Musa (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) said: “For a sick person, the good deeds that he used to do in good health are written for him during his illness. Similarly, for a traveler, the good deeds that he used to do while at home are written for him during his journey.”