‘Ubadah ibn al-Samit reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever joins a campaign in the way of Allah with no intention but to acquire some spoils, he will only have what he intended.”
Source: Sunan al-Nasā’ī 3138
Grade: Sahih (authentic) according to Al-Suyuti
عَنْ عُبَادَةَ بْنِ الصَّامِتِ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ غَزَا فِي سَبِيلِ اللَّهِ وَلَمْ يَنْوِ إِلَّا عِقَالًا فَلَهُ مَا نَوَى
3138 سنن النسائي كتاب الجهاد من غزا في سبيل الله ولم ينو من غزاته إلا عقالا
8855 المحدث السيوطي خلاصة حكم المحدث صحيح في الجامع الصغير