Anas bin Malik reported,

The Prophet ﷺ visited a young man who was dying and asked, "How do you feel?"The young man replied, "By Allah, Messenger of Allah, I have hope in Allah, and I fear my sins."The Messenger of Allah ﷺ said, "These two do not come together in the heart of a servant at such a moment without Allah granting him what he hopes for and securing him from what he fears."

Azami 3504

Hasan

عن أنس

أن النبي ﷺ دخل على شاب وهو في الموت فقال: كيف تجدك؟ قال: والله يا رسول الله إني أرجو الله، وإني أخاف ذنوبي. فقال رسول الله ﷺ: لا يجتمعان في قلب عبد في مثل هذا الموطن إلا أعطاه الله ما يرجو، وآمنه مما يخاف.

الأعظمي 3504حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Dying person
Section
Signs of the believer's death
Numbering
Jami al-Kamil 3504 (2nd edition)
Azami 3504