Mishkat al-Masabih

Jabir said he heard God’s messenger say three days before his death, “See that none of you dies without having good expectations from God.” Muslim transmitted it.

وَعَنْ جَابِرٍ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَبْلَ مَوْتِهِ بِثَلَاثَةِ أَيَّامٍ يَقُولُ: «لَا يَمُوتَنَّ أَحَدُكُمْ إِلَّا وَهُوَ يُحْسِنُ الظَّنَّ بِاللَّه» . رَوَاهُ مُسلم