Abu Hurairah (May Allah be pleased with him) reported:
The Messenger of Allah (ﷺ) said, "He who dies without having fought in the Cause of Allah or without having thought of doing so, will die with one characteristic of hypocrisy in him."[Muslim].
App reference: Book 12, Hadith 57
Arabic/English book reference: Book 12, Hadith 1341