فَإِذَا لَقِيتُمُ ٱلَّذِينَ كَفَرُواْ فَضَرۡبَ ٱلرِّقَابِ حَتَّىٰٓ إِذَآ أَثۡخَنتُمُوهُمۡ فَشُدُّواْ ٱلۡوَثَاقَ فَإِمَّا مَنَّۢا بَعۡدُ وَإِمَّا فِدَآءً حَتَّىٰ تَضَعَ ٱلۡحَرۡبُ أَوۡزَارَهَاۚ ذَٰلِكَۖ وَلَوۡ يَشَآءُ ٱللَّهُ لَٱنتَصَرَ مِنۡهُمۡ وَلَٰكِن لِّيَبۡلُوَاْ بَعۡضَكُم بِبَعۡضٖۗ وَٱلَّذِينَ قُتِلُواْ فِي سَبِيلِ ٱللَّهِ فَلَن يُضِلَّ أَعۡمَٰلَهُمۡ
Rowwad Translation Center
When you encounter the disbelievers [in battle], strike [their] necks until you have thoroughly subdued them, then bind the captives firmly[1]. Later [you may free them] as a favor[2] or for ransom until the war comes to an end[3]. That [is Our command], if Allah had willed, He could have subjected them to punishment, but [He ordered you to fight] to test some of you by means of others. Those who are killed in the way of Allah, He will never render their deeds void.
Notes
Translation: Rowwad Translation Center. Source: QuranEnc.com, version 1.0.20.
Arabic text: King Fahd Glorious Quran Printing Complex. Surah details: Tanzil.net (CC BY 3.0).
This is a translation of the meanings of the Quran. Like any human work, it may contain errors.