فَإِذَا لَقِيتُمُ ٱلَّذِينَ كَفَرُوا۟ فَضَرْبَ ٱلرِّقَابِ حَتَّىٰٓ إِذَآ أَثْخَنتُمُوهُمْ فَشُدُّوا۟ ٱلْوَثَاقَ فَإِمَّا مَنًّۢا بَعْدُ وَإِمَّا فِدَآءً حَتَّىٰ تَضَعَ ٱلْحَرْبُ أَوْزَارَهَا ۚ ذَٰلِكَ وَلَوْ يَشَآءُ ٱللَّهُ لَٱنتَصَرَ مِنْهُمْ وَلَـٰكِن لِّيَبْلُوَا۟ بَعْضَكُم بِبَعْضٍ ۗ وَٱلَّذِينَ قُتِلُوا۟ فِى سَبِيلِ ٱللَّهِ فَلَن يُضِلَّ أَعْمَـٰلَهُمْ٤
Fa-itha laqeetumu allatheenakafaroo fadarba arriqabi hattaitha athkhantumoohum fashuddoo alwathaqa fa-immamannan baAAdu wa-imma fidaan hatta tadaAAaalharbu awzaraha thalika walaw yashaoAllahu lantasara minhum walakinliyabluwa baAAdakum bibaAAdin wallatheenaqutiloo fee sabeeli Allahi falan yudillaaAAmalahum
So when you meet those who disbelieve [in battle], strike [their] necks until, when you have inflicted slaughter upon them, then secure [their] bonds, and either [confer] favor afterwards or ransom [them] until the war lays down its burdens. That [is the command]. And if Allāh had willed, He could have taken vengeance upon them [Himself], but [He ordered armed struggle] to test some of you by means of others. And those who are killed in the cause of Allāh - never will He waste their deeds.
So, when you encounter those who disbelieve, then (aim at) smiting the necks, until when you have broken their strength thoroughly, then tie fast the bond, (by making them captives). Then choose (to release them) either (as) a favour (shown to them,), or (after receiving) ransom,until the war throws down its load of arms. That (is Our command.) If Allah willed, He would have (Himself) subjected them to retribution, but (Allah ordered you to fight,) so that He may test some of you through some others. And those who are killed in Allah’s way, He will never let their deeds go to waste.