Al 'Imran, 161 Ayah
3:161
وَمَا كَانَ لِنَبِيٍّ أَن يَغُلَّۚ وَمَن يَغۡلُلۡ يَأۡتِ بِمَا غَلَّ يَوۡمَ ٱلۡقِيَٰمَةِۚ ثُمَّ تُوَفَّىٰ كُلُّ نَفۡسٖ مَّا كَسَبَتۡ وَهُمۡ لَا يُظۡلَمُونَ ١٦١
Wa Mā Kāna Linabīyin 'An Yaghulla ۚ Wa Man Yaghlul Ya'ti Bimā Ghalla Yawma Al-Qiyāmati ۚ Thumma Tuwaffá Kullu Nafsin Mā Kasabat Wa Hum Lā Yužlamūna
It is not [attributable] to any prophet that he would act unfaithfully [in regard to war booty]. And whoever betrays, [taking unlawfully], will come with what he took on the Day of Resurrection. Then will every soul be [fully] compensated for what it earned, and they will not be wronged.