Quran 47:4 — Muhammad (Muhammad)
If you encounter (in war) those who disbelieve, you may strike the necks. If you take them as captives you may set them free or ransom them, until the war ends. Had GOD willed, He could have granted you victory, without war. But He thus tests you by one another. As for those who get killed in the cause of GOD, He will never put their sacrifice to waste.
[47:3] This is because those who disbelieve are following falsehood, while those who believe are following the truth from their Lord. GOD thus cites for the people their examples.
[47:5] He will guide them, and bless them with contentment.