Abu Musa Ashari reported,

A man came to the Prophet ﷺ and asked, "Messenger of Allah, what about a man who fights out of bravery, one who fights out of zeal, and one who fights to be seen by others? Which of these is fighting in the cause of Allah?"The Messenger of Allah ﷺ replied, "Whoever fights so that the word of Allah عز وجل may be supreme is fighting in the cause of Allah عز وجل."

Ahmad 19543

Sahih

حدثنا أبو معاوية حدثنا الأعمش عن شقيق

عن أبي موسى قال

جاء رجل إلى النبي ﷺ فقال يا رسول الله أرأيت الرجل يقاتل شجاعة ويقاتل حمية ويقاتل رياء فأي ذلك في سبيل الله قال فقال رسول الله ﷺ من قاتل لتكون كلمة الله عز وجل هي العليا فهو في سبيل الله عز وجل

أحمد 19543صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Musa Ashari
Numbering
Darussalam 19543
Ahmad 19543