And remember We took your covenant (to this effect): Shed no blood amongst you, nor turn out your own people from your homes: and this ye solemnly ratified, and to this ye can bear witness.
The argument made here is that, as followers of God’s revelation, they shouldn’t have been fighting each other to begin with – and then to use scripture to justify the freeing of Jewish captives is utter hypocrisy. See Deuteronomy 24:7.
Emerick, Yahiya. The Meaning of the Holy Qur’an in Today’s English (p. 827). Unknown. Kindle Edition.