It wasnarrated that Jabir said:
"I heard the Messenger of Allah(ﷺ)say: 'No one of you should die except thinking positively ofAllah.'"
English reference: Vol. 5, Book 37, Hadith 4167
Arabic reference: Book 37, Hadith 4306
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.