Surah Al-Anfaal

8:68

لَّوْلَا كِتَٰبٌۭ مِّنَ ٱللَّهِ سَبَقَ لَمَسَّكُمْ فِيمَآ أَخَذْتُمْ عَذَابٌ عَظِيمٌۭ

Kalaulah tidak (kerana) adanya ketetapan dari Allah yang telah terdahulu, tentulah kamu ditimpa azab seksa yang besar disebabkan (penebus diri) yang kamu ambil (dari orang-orang tawanan) itu.

Tafsir 8:68

Were it not for a decree from Allah – in which it had already been decided that He would make the gains of war lawful for you and permit you to ransom captives – a severe punishment from Allah would have afflicted you because of the gains of war and ransom you took from the captives at Badr before the coming of revelation from Allah that permitted it.