"The Messenger of Allah ﷺ said: 'Whoever fights in the cause of Allah intending only to get an 'Iqal, he will have what he intended." (Using translation from Nasāʾī 3138)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ مَنْ غَزَا فِي سَبِيلِ اللهِ وَهُوَ لَا يَنْوِي فِي غَزَاتِهِ إِلَّا عِقَالًا فَلَهُ مَا نَوَى