---
title: "What Does Islam Teach About War and Peace? | Islam Is Mercy"
description: "Islam makes peace the goal, permits fighting only against aggression and oppression, and binds war with strict rules that protect civilians."
lang: en
url: https://islamismercy.com/en/views/war-and-peace/
---

1.  [Home](https://islamismercy.com/en/)
2.  [Islam's View On…](https://islamismercy.com/en/views/)
3.  What Does Islam Teach About War and Peace?

# What Does Islam Teach About War and Peace?

Written by **Islam Is Mercy Editorial Team**· 3 min readAwaiting scholar review

## The short answer

Islam is not pacifist, but it treats peace as the goal and war as a last resort. The Qur'an permits fighting against those who attack or oppress, forbids transgressing limits, and commands Muslims to accept peace when the other side inclines to it. The Prophet Muhammad ﷺ forbade killing women and children, mutilation and treachery.

## On this page

1.  Peace is the goal
2.  When fighting is permitted — and its limits
3.  Rules of war
4.  Inclining to peace
5.  Who decides?
6.  A closing thought

War is one of the hardest subjects any religion has to face. Every major tradition — and every modern nation — has had to ask when, if ever, it is right to fight, and what limits must never be crossed. Islam answers these questions in detail, and its answers are often very different from what the headlines suggest.

## Peace is the goal

One of God’s names in the [Qur’an](https://islamismercy.com/en/glossary/quran/) is *as-Salam* (59:23), which speaks of perfect peace and safety. Muslims greet each other with *as-salamu alaykum*, “peace be upon you”, and the Qur’an describes God as inviting people to the Home of Peace (10:25). Islam does not glorify war. The Prophet Muhammad ﷺ even told his companions not to long for battle:

> …O people! Do not wish to face the enemy (in a battle) and ask Allah to save you (from calamities)…

[Sahih al-Bukhari 2966](https://sunnah.com/bukhari/56#:~:text=a%20letter%20that%20contained%20the)Grade: Sahih (in Sahih al-Bukhari)

For thirteen years in Mecca, the early Muslims were persecuted, boycotted, tortured and killed, and they were not permitted to fight back. Only after they had been driven from their homes did God give permission to defend themselves, explaining that otherwise monasteries, churches, synagogues and mosques would be destroyed (22:39–40). We look at this history closely in [Does Islam promote violence?](https://islamismercy.com/en/questions/does-islam-promote-violence/)

## When fighting is permitted — and its limits

The Qur’an permits fighting to repel aggression and to stop oppression, but it immediately sets a boundary:

> وَقَٰتِلُوا۟ فِى سَبِيلِ ٱللَّهِ ٱلَّذِينَ يُقَٰتِلُونَكُمْ وَلَا تَعْتَدُوٓا۟ ۚ إِنَّ ٱللَّهَ لَا يُحِبُّ ٱلْمُعْتَدِينَ ﴿١٩٠﴾

> Fight in the way of Allah those who fight you but do not transgress. Indeed. Allah does not like transgressors.

[Qur'an, Al-Baqara 2:190](https://quran.com/2?startingVerse=190&translations=20)Saheeh International

Scholars explain that the forbidden transgression includes attacking people who are not fighting, breaking agreements, and going beyond what is necessary. Fighting can never be used to force anyone to accept Islam, because there is no compulsion in religion (see [no compulsion in religion](https://islamismercy.com/en/questions/no-compulsion-in-religion/)).

## Rules of war

Centuries before modern conventions, the Prophet ﷺ gave clear instructions to his armies. When a woman was found killed after one battle, he condemned it:

> Narrated \`Abdullah: During some of the Ghazawat of the Prophet (ﷺ) a woman was found killed. Allah's Messenger (ﷺ) disapproved the killing of women and children

[Sahih al-Bukhari 3014](https://sunnah.com/bukhari/56#:~:text=the%20Ghazawat%20of%20the%20Prophet)Grade: Sahih (in Sahih al-Bukhari)

When he appointed a commander, he would advise him:

> …do not embezzle the spoils; do not break your pledge; and do not mutilate (the dead) bodies; do not kill the children.…

[Sahih Muslim 4522](https://sunnah.com/muslim:4522)Grade: Sahih (in Sahih Muslim)

From these and other texts, Muslim jurists developed detailed laws of war: non-combatants such as women, children, the elderly and religious hermits are protected; treaties must be honoured; prisoners must be treated humanely; and even an enemy soldier who asks for safety must be granted it and escorted to a safe place (9:6).

## Inclining to peace

Perhaps the most important verse on this subject is short and clear:

> ۞ وَإِن جَنَحُوا۟ لِلسَّلْمِ فَٱجْنَحْ لَهَا وَتَوَكَّلْ عَلَى ٱللَّهِ ۚ إِنَّهُۥ هُوَ ٱلسَّمِيعُ ٱلْعَلِيمُ ﴿٦١﴾

> And if they incline to peace, then incline to it \[also\] and rely upon Allah. Indeed, it is He who is the Hearing, the Knowing.

[Qur'an, Al-Anfaal 8:61](https://quran.com/8?startingVerse=61&translations=20)Saheeh International

Elsewhere the Qur’an says that if an enemy withdraws, stops fighting and offers peace, God has given Muslims no reason to fight them (4:90). The Prophet ﷺ himself accepted the Treaty of Hudaybiyyah with his Meccan opponents, even though many of its terms seemed unfavourable to the Muslims, because it brought peace. Early Muslim historians observed that, in the calm that followed, far more people came to learn about Islam and accept it than during the years of conflict.

## Who decides?

In Islamic law, declaring war is the responsibility of a legitimate state authority, not of individuals or self-appointed groups. Attacks on civilians, suicide bombings and the killing of innocent people violate the rules above and are condemned by Muslim scholars across the world. For more, read [Islam and terrorism](https://islamismercy.com/en/questions/islam-and-terrorism/) and [What is jihad?](https://islamismercy.com/en/questions/what-is-jihad/)

Muslims are also bound by the treaties and agreements their countries make. The Qur’an repeatedly commands keeping covenants, and the Prophet ﷺ warned against treachery even toward enemies. For a Muslim living as a citizen anywhere in the world, this means living peacefully, obeying the law and working for justice through lawful means.

Muslim-majority countries, like all countries, have fought wars that were unjust. Islam is judged by its teachings, not by the actions of every ruler who has claimed its name.

## A closing thought

The Islamic ethic of war can be summed up simply: seek peace, defend the oppressed, never harm the innocent, and stop when the enemy stops. These principles remain a powerful challenge to every nation today. To learn how Islam frames justice more broadly, read [justice in Islam](https://islamismercy.com/en/views/justice-in-islam/).

![What Does Islam Teach About War and Peace?](https://islamismercy.com/_astro/war-and-peace-info.B-GcNkes_ZIa2QI.jpg)

## Key takeaways

-   Peace is the goal; one of God's names is as-Salam, Peace.
-   Fighting is permitted only to repel aggression and end oppression, never to force belief.
-   Strict rules protect non-combatants — killing women and children is forbidden.
-   If the enemy inclines to peace, Muslims must incline to it too.
-   Only legitimate authority can declare war; terrorism is condemned.

## Share this article

[WhatsApp](https://wa.me/?text=What%20Does%20Islam%20Teach%20About%20War%20and%20Peace%3F%20https%3A%2F%2Fislamismercy.com%2Fen%2Fviews%2Fwar-and-peace%2F)[Telegram](https://t.me/share/url?url=https%3A%2F%2Fislamismercy.com%2Fen%2Fviews%2Fwar-and-peace%2F&text=What%20Does%20Islam%20Teach%20About%20War%20and%20Peace%3F)[X](https://twitter.com/intent/tweet?text=What%20Does%20Islam%20Teach%20About%20War%20and%20Peace%3F&url=https%3A%2F%2Fislamismercy.com%2Fen%2Fviews%2Fwar-and-peace%2F)[Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fislamismercy.com%2Fen%2Fviews%2Fwar-and-peace%2F)

## Sources

-   [Qur'an, Al-Baqara 2:190](https://quran.com/2?startingVerse=190&translations=20)
-   [Qur'an, Al-Anfaal 8:61](https://quran.com/8?startingVerse=61&translations=20)
-   [Sahih al-Bukhari 2966](https://sunnah.com/bukhari/56#:~:text=a%20letter%20that%20contained%20the)
-   [Sahih al-Bukhari 3014](https://sunnah.com/bukhari/56#:~:text=the%20Ghazawat%20of%20the%20Prophet)
-   [Sahih Muslim 4522](https://sunnah.com/muslim:4522)

## Talk to a Muslim

Have a question that isn't answered here? Ask a real person — no pressure, no judgement.

[Ask your question](https://islamismercy.com/en/talk/)

## Keep reading

[Hard Questions

### Does Islam Promote Violence?

An honest look at the Qur'an's verses about fighting — what they say, the context they came in, and the strict limits Islam places on war.

Read article](https://islamismercy.com/en/questions/does-islam-promote-violence/)[Hard Questions

### What Is Jihad, Really?

Jihad is striving in God's cause: against one's ego, with wealth and words, for parents and justice — and, as a special kind, lawful war under strict rules.

Read article](https://islamismercy.com/en/questions/what-is-jihad/)[Hard Questions

### What Does Islam Say About Terrorism?

Islam forbids terrorism — deliberately killing or terrorising innocent people. Here is what the Qur'an and the Prophet ﷺ teach, with sources.

Read article](https://islamismercy.com/en/questions/islam-and-terrorism/)[Islam's View On…

### What Does Islam Say About Justice?

Justice is a command of God in Islam — owed to everyone, rich or poor, friend or enemy, even when it goes against yourself or your own family.

Read article](https://islamismercy.com/en/views/justice-in-islam/)
