Jabir reported, "I heard the Prophet ﷺ say, three days before his death, 'None of you should die except while holding a good opinion of Allah.'"
سمعت النبي ﷺ قبل وفاته بثلاث يقول: لا يموتن أحدكم إلا وهو يحسن بالله الظن.
Muslim narrated it in the chapter on Paradise (2877), from Yahya bin Yahya, [who said] Yahya bin Zakariya informed us, from Amash, from Abu Sufyan, from Jabir, who mentioned it.