It is narrated from Sayyiduna Ibn Amr (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When a servant is on a good way of worship and then falls ill, it is said to the angel appointed over him: Write for him the like of the deeds he used to do when he was healthy, until I release him (from the illness) or take him to Myself."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6895
Hadith Gradingحکم دارالسلام:حديث صحيح، وهذا إسناد حسن