Sahih Muslim · Hadith 7410
The Book Pertaining to Paradise; Its Description; Its Bounties and Its Intimates - كتاب الجنة وصفة نعيمها وأهلها
حدثنا يحيى بن يحيى، أخبرنا يحيى بن زكرياء، عن الأعمش، عن أبي سفيان، عن جابر، قال سمعت النبي صلى الله عليه وسلم قبل وفاته بثلاث يقول " لا يموتن أحدكم إلا وهو يحسن بالله الظن " .
Jabir reported: I heard Allah's Apostle (may peace be upon him) as saying three days before his death: None of you should court death but only hoping good from Allah
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).