The Messenger of Allah ﷺ was asked about a man who fights out of bravery, one who fights out of tribal loyalty, and one who fights to be seen by others. Which of these is fighting in the cause of Allah the Exalted?The Messenger of Allah ﷺ replied, "Whoever fights so that the word of Allah may be supreme is fighting in the cause of Allah."
حدثنا أبو معاوية حدثنا الأعمش عن شقيق
سئل رسول الله ﷺ عن الرجل يقاتل شجاعة ويقاتل حمية ويقتل رياء فأي ذلك في سبيل الله تعالى فقال رسول الله ﷺ من قاتل لتكون كلمة الله هي العليا فهو في سبيل الله عز وجل