Hadith 6:32
Affan narrated to us, he said: Hammad bin Salamah narrated to us, he said: Abu Rabi'ah narrated to us, he said: I heard Anas bin Malik saying: The Messenger of Allah, peace and blessings of Allah be upon him, says: "When Allah afflicts a Muslim with a trial in his body, He says to the angel: 'Record for him his righteous deeds that he used to perform.' If He heals him, He washes him and purifies him; and if He takes his soul, He forgives him and has mercy upon him."
حدثنا عفان قال نا حماد بن سلمة قال نا أبو ربيعة قال سمعت أنس بن مالك يقول أن رسول الله صلى الله عليه وسلم يقول إذا ابتلي الله المسلم ببلاء في جسده قال للملك أكتب له صالح عمله الذي كان يعمل وإن شفاه غسله وطهره وإن قبضه غفر له ورحمه