It wasnarrated that Jabir said:
"I heard the Messenger of Allah(ﷺ)say: 'No one of you should die except thinking positively ofAllah.'" (AR)
English reference (AR): Vol. 5, Book 37, Hadith 4167 (AR)
Arabic reference (AR): Book 37, Hadith 4306 (AR)