It is not for a prophet to have captives [of war] until he inflicts a massacre [upon Allah 's enemies] in the land. Some Muslims desire the commodities of this world, but Allah desires [for you] the Hereafter. And Allah is Exalted in Might and Wise.
Tafseer
ونزل لما أخذوا الفداء من أسرى بدر { ما كان لنبي أن تكون } بالتاء والياء { له أسرى حتى يثخن في الأرض } يبالغ في قتل الكفار { تريدون } أيها المؤمنون { عَرَض الدنيا } حطامها بأخذ الفداء { والله يريد } لكم { الآخرة } أي ثوابها بقتلهم { والله عزيز حكيم } وهذا منسوخ بقوله ( فإما منّا بعد وإما فداءً ) .
The inn because they took the redemption of prisoners of Badr what was a prophet to be Balta and Omega his prisoners until it thickens into the ground overused in the killing of infidels ask O believers display minimum wreckage take redemption God wants your Hereafter any reward kill them and Allah is Mighty, Wise and this is abrogated by saying (either of us after or redemption).