It is narrated from Abu al-Ash'ath al-San'ani that he set out for the mosque of Damascus, and he met Sayyiduna Shaddad bin Aws (may Allah be pleased with him) and al-Sunabihi. He asked: "'Yarhamukuma Allah' (May Allah have mercy on you both), where are you intending to go?" They replied: "We are going here to visit a sick brother of ours." He said: So I went along with them until the two of them came to that man and asked him: "How are you this morning?" He said: "This morning I am in the blessing and bounty of Allah." Then Sayyiduna Shaddad (may Allah be pleased with him) said to him: "Receive glad tidings of the expiation of evil deeds and the shedding of sins, for I heard the Messenger of Allah (peace and blessings be upon him) saying: 'Allah, the Mighty and Majestic, says: When I test one of My believing servants with an affliction and he praises Me for the affliction I have put him through, he rises from that bed of his as pure of sins as he was on the day his mother gave birth to him. And Allah Almighty says: It is I who have confined this servant of Mine and put him to trial, so continue for him the same reward that you used to record for him while he was healthy.'"
Imam Abu Ya'la al-Mawsili recorded it. This hadith also has a supporting narration (shahid) from the narration of Sayyiduna Ibn Mas'ud (may Allah be pleased with him), which will come later in the Book of Medicine.
Hadith Takhrij«أبو يعلى: سليمان بن محمد المباركي عن إسماعيل بن عياش عن راشد بن داود الصنعاني عن أبي الأشعث عن شداد (المطالب 2454). إسماعيل بن عياش صدوق في روايته عن أهل بلده وهذا منها؛ راشد بن داود: صدوق له أوهام (التقريب)» «أخرجه مسند أحمد برقم: 16669، وأخرجه المعجم الكبير للطبراني برقم: 7136»