(26) باب مَنْ قَاتَلَ لِتَكُونَ كَلِمَةُ اللَّهِ هِيَ الْعُلْيَا
Abu Musa said "A beduoin came to the Apostle of Allaah(ﷺ) and said "One man fights for reputation, one fights for being praised, one fights for booty and one for his place to be seen. (Which of them is in Allaah's path?)". The Apostle of Allaah(ﷺ) replied "The one who fights that Allaah's word may have pre-eminence is in Allaah's path."
Reference: Sunan Abi Dawud 2517
In-book reference: Book 15, Hadith 41
English translation: Book 14, Hadith 2511