Muaz bin Jabal reported,

The Messenger of Allah ﷺ said, "Military expeditions are of two kinds. As for the one who sets out seeking the face of Allah, obeys the leader, spends what is precious, treats his partner with ease, and avoids corruption, his sleep and his waking are all rewarded. But as for the one who fights out of pride, showing off, and seeking reputation, who disobeys the leader and spreads corruption in the land, he does not return even breaking even."

Azami 7802

Hasan

عن معاذ بن جبل

عن رسول الله ﷺ أنه قال: الغزو غزوان: فأما من ابتغى وجه الله، وأطاع الإمام، وأنفق الكريمة، وياسر الشريك، واجتنب الفساد، فإن نومه ونبهه أجر كله، وأما من غزا فخرا ورياء وسمعة، وعصى الإمام، وأفسد في الأرض، فإنه لم يرجع بالكفاف.

الأعظمي 7802حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Discouragement from fighting for the sake of showing off and seeking reputation
Numbering
Jami al-Kamil 7802 (2nd edition)
Azami 7802