Anas said that the Prophet visited a young man who was dying and asked him how he was. He replied, “I am hoping in God, messenger of God, but I am afraid of my sins,” whereupon God's messenger said, “The two cannot come together in a man’s heart at such a time without God giving him what he hopes for and granting him security from what he fears.” Tirmidhi and Ibn Majah transmitted it, Tirmidhi saying that this is a gharib tradition.
Hadith Referenceمشكوة المصابيح / كتاب الجنائز / 1612
Hadith Gradingالألبانی:حسن | زبیر علی زئی:حسن
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «حسن، رواه الترمذي (983) و ابن ماجه (4261) [وصححه ابن الملقن في تحفة المحتاج (763) ]»