Surah Aal-i-Imraan, Verse 161
Translation — Sahih International
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.
Source
Kur'an-ı Kerim, Âl-i İmrân Suresi 3:161
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/3-suresi-161-ayet