Surah Al-Anfal, Ayah 67
Quran 8:67 · Juz 10 · Medinan
مَا كَانَ لِنَبِيٍّ أَن يَكُونَ لَهُۥٓ أَسۡرَىٰ حَتَّىٰ يُثۡخِنَ فِي ٱلۡأَرۡضِۚ تُرِيدُونَ عَرَضَ ٱلدُّنۡيَا وَٱللَّهُ يُرِيدُ ٱلۡأٓخِرَةَۗ وَٱللَّهُ عَزِيزٌ حَكِيمٞ
Mā kāna linabiyyin ay yakūna lahū asrā ḥattā yuṡkhina fil-arḍ(i), turīdūna ‘araḍad-dun-yā, wallāhu yurīdul-ākhirah(ta), wallāhu ‘azīzun ḥakīm(un).
It is not for a prophet to have captives [of war] until he inflicts a massacre [upon Allāh's enemies] in the land. You [i.e., some Muslims] desire the commodities of this world,[457] but Allāh desires [for you] the Hereafter. And Allāh is Exalted in Might and Wise.
[457] i.e., material benefit, such as the ransom paid for prisoners.