During wartime, Islam permits combat against enemy combatants who are directly engaged in fighting. However, strict rules of engagement must be followed, and unnecessary harm or killing of non-combatants, including prisoners of war or civilians, is strictly prohibited.