Mishkat al-Masabih #1530
Funerals
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَن أنس قَالَ: دخل النَّبِي عَلَى شَابٍّ وَهُوَ فِي الْمَوْتِ فَقَالَ: «كَيْفَ تجدك؟» قَالَ: أرجوالله يَا رَسُولَ اللَّهِ وَإِنِّي أَخَافُ ذُنُوبِي فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا يَجْتَمِعَانِ فِي قَلْبِ عَبْدٍ فِي مِثْلِ هَذَا الْمَوْطِنِ إِلَّا أَعْطَاهُ اللَّهُ مَا يَرْجُو وَآمَنَهُ مِمَّا يَخَافُ» . رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ وَقَالَ التِّرْمِذِيُّ هَذَا حَدِيث غَرِيب
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.
Topics
About Mishkat al-Masabih
This hadith is #1530 from Mishkat al-Masabih, in the Book of Funerals.