Sayyiduna Abdullah bin Amr (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "When a servant is on a good path of worship and then falls ill (and cannot worship according to his previous routine), it is said to the angel appointed over him: 'Record for him the like of his deeds when he was free (that is, not ill), until I free him (that is, end the illness) or call him to Myself.'"
Ahmad recorded it, and its chain is sahih (authentic).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجنائز / 3810
Hadith Gradingمحدثین:إسنادہ صحیح
Hadith Takhrij«مسند أحمد بن حنبل، مسند عبد الله بن عمرو بن العاص رضى الله عنهما ، 6736، جامع معمر بن راشد ، المرض وما يصيب الرجل، 918، السنن الكبرى للبيهقي ، كتاب الجنائز، باب ما ينبغى لكل مسلم أن يستشعره من الصبر على جميع ، 6164 ، أخرجه مسند أحمد برقم: 6856»