It was narrated from 'Ubadah bin As-Samit that the Messenger of Allah (ﷺ) said:
"Whoever fights seeking only an 'Iqbal, then he will have what he intended."