Sunan Abi Dawud 2517
Grading supplied with this record: Sahih (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ قَاتَلَ حَتَّى تَكُونَ كَلِمَةُ اللَّهِ هِيَ أَعْلَى فَهُوَ فِي سَبِيلِ اللَّهِ عَزَّ وَجَلَّ "
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."
Full reference and source
Sunan Abi Dawud 2517 In-book : Book 15, Hadith 41 English translation : Book 14, Hadith 2511
View source on Sunnah.com (opens in a new tab)