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.”
أَنَّ أَعْرَابِيًّا جَاءَ إِلَى رَسُولِ اللَّهِ ﷺ فَقَالَ إِنَّ الرَّجُلَ يُقَاتِلُ لِلذِّكْرِ وَيُقَاتِلُ لِيُحْمَدَ وَيُقَاتِلُ لِيَغْنَمَ وَيُقَاتِلُ لِيُرَى مَكَانُهُ فَقَالَ رَسُولُ اللَّهِ ﷺ مَنْ قَاتَلَ حَتَّى تَكُونَ كَلِمَةُ اللَّهِ هِيَ أَعْلَى فَهُوَ فِي سَبِيلِ اللَّهِ ﷻ