Sunan an-Nasa'i, Book 25, Hadith 13 (Nasa'i 3103)

It was narrated from Abu Hurairah that the Prophet (ﷺ) said:

"Whoever dies without having fought or thought of fighting, he dies on one of the branches of hypocrisy."