Sahih Muslim | Book 20 | Chapter 42

Narrated by It has been narrated on the authority of Abu Musa Ash'ari that a desert Arab came to the Holy Prophet (may peace be upon him) and
It has been narrated on the authority of Abu Musa Ash'ari that a desert Arab came to the Holy Prophet (may peace be upon him) and said: Messenger of Allah, one man fights for the spoils of war; another fights that he may be remembered, and another fights that he may see his (high) position (achieved as a result of his valour in fighting). Which of these is fighting in the cause of God? The Messenger of Allah (may peace be upon him) said: Who fights so that the word of Allah is exalted is fighting in the way of Allah.

Narrated by Abu Musa
It has been narrated (through another chain of transmitters) on the authority of Abu Musa who said. The Messenger of Allah (may peace be upon him) was asked which of the men fights in the way of Allah: (one who fights) for displaying his valour; (a man who) fights out of his family pride and (a man who) fights for the sake of show, who amongst these fights in the way of Allah? The Messenger of Allah (may peace be upon him) said: Who fights that the word of Allah be exalted fights in the way of Allah.

Narrated by Abu Musa
It has been narrated (through yet another chain of transmitters) on the same authority, i.e. Abu Musa, who said: We, came to the Messenger of Allah (may peace be upon him) and said: Messenger of Allah, one of us who fights to display his valour... (followed by the same words as we have in the previous tradition).

Narrated by Abu Musa Ash'ari
It has been narrated through a different chain of transmitters on the same authority, i.e. Abu Musa Ash'ari, that a man asked the Messenger of Allah (may peace be upon him) about fighting in the way of Allah, the Exalted and Majestic, a man who fights out of rage or out of family pride. He raised his head towards him-and he did so because the man was standing and said: Who fights that the word of Allah be exalted fights in the way of Allah.