When you meet the disbelievers in battle, strike them in the neck, and once they are defeated, bind any captives firmly––later you can release them by grace or by ransom––until the toils of war have ended. That [is the way]. God could have defeated them Himself if He had willed, but His purpose is to test some of you by means of others. He will not let the deeds of those who are killed for His cause come to nothing;
Therefore, when ye meet the Unbelievers (in fight), smite at their necks; At length, when ye have thoroughly subdued them, bind a bond firmly (on them): thereafter (is the time for) either generosity or ransom: Until the war lays down its burdens. Thus (are ye commanded): but if it had been Allah's Will, He could certainly have exacted retribution from them (Himself); but (He lets you fight) in order to test you, some with others. But those who are slain in the Way of Allah,- He will never let their deeds be lost.