Sunan An-Nasa'i
Hadith #3138
It was narrated from Yahya bin Al-Walid bin 'Ubadah bin As-Samit that his grandfather said:""The Messenger of Allah (ﷺ) said: 'Whoever fights in the cause of Allah intending only to get an 'Iqal, he will have what he intended