← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #2695 · Fighting for the Cause of Allah (Jihaad)

Narrated Abu Musa:

حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، حَدَّثَنَا شُعْبَةُ، عَنْ عَمْرٍو، عَنْ أَبِي وَائِلٍ، عَنْ أَبِي مُوسَى ـ رضى الله عنه ـ قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ الرَّجُلُ يُقَاتِلُ لِلْمَغْنَمِ، وَالرَّجُلُ يُقَاتِلُ لِلذِّكْرِ، وَالرَّجُلُ يُقَاتِلُ لِيُرَى مَكَانُهُ، فَمَنْ فِي سَبِيلِ اللَّهِ قَالَ ‏ "‏ مَنْ قَاتَلَ لِتَكُونَ كَلِمَةُ اللَّهِ هِيَ الْعُلْيَا فَهُوَ فِي سَبِيلِ اللَّهِ ‏"‏‏.‏

A man came to the Prophet (ﷺ) and asked, "A man fights for war booty; another fights for fame and a
third fights for showing off; which of them fights in Allah's Cause?" The Prophet (ﷺ) said, "He who fights
that Allah's Word (i.e. Islam) should be superior, fights in Allah's Cause."