Islamic history preserves many accounts of courage, endurance and restraint in war, and the best attested come from the lifetime of the Prophet (saw) and the first generations: Badr, the Trench, Mu'ta, the conquest of Makkah, Yarmouk and Qadisiyya, and later Hattin and Ayn Jalut.
- Badr (March 624) and the Trench (627) are described in the Qur'an itself, and show reliance on Allah, consultation and endurance under hunger and siege.
- The Prophet (saw) and his Companions (ra) set limits on fighting: no killing of women, children and monks, no destruction of crops and trees, and a general amnesty at the conquest of Makkah.
- Later episodes such as Yarmouk (636), Hattin (1187) and Ayn Jalut (1260) are known from chroniclers on both sides, and historians differ on numbers, dates and motives.
- Classical jurists drew a distinction between acts of courage in a lawful defence and aggression, which the Qur'an forbids (2:190).
Introduction
The question asks for inspiring stories from Islamic military history. Such stories have always been told in Muslim communities to teach courage, patience and discipline, and they are a fair subject for study as long as they are told accurately. War is a grave matter in Islam, and the Qur'an permits fighting only under conditions and within limits: fight in the way of Allah those who fight you, but do not transgress, for Allah does not love transgressors (2:190).
The episodes below are chosen because they are well attested in the Qur'an, in the two Sahih collections or in the main historians, such as Ibn Ishaq (d. about 767), al-Waqidi (d. 823), al-Tabari (d. 923), Ibn al-Athir (d. 1233) and Baha' al-Din ibn Shaddad (d. 1234). Where sources differ on dates, numbers or details, the differences are noted. Accounts of war are also accounts of suffering, and the selection includes acts of restraint as well as victories.
Badr (17 Ramadan 2 AH, about March 624)
Badr was the first major battle between the Muslims of Madinah and Quraysh of Makkah, who had persecuted the Muslims for thirteen years and confiscated the property of those who migrated. The Muslims numbered about 313, and the army of Quraysh numbered roughly 950 to 1,000, according to the early sources such as Ibn Ishaq. The Muslims had few horses and camels, and shared mounts in turns. The Qur'an refers to the event and its lesson:
وَلَقَدْ نَصَرَكُمُ اللَّهُ بِبَدْرٍ وَأَنتُمْ أَذِلَّةٌ ۖ فَاتَّقُوا اللَّهَ لَعَلَّكُمْ تَشْكُرُونَ
And Allah had already given you victory at Badr when you were weak, so fear Allah, that you may be grateful. (Qur'an 3:123)
The sources report that before the battle the Prophet (saw) consulted his Companions (ra), and that al-Hubab ibn al-Mundhir (ra) suggested moving to a different well so that the Muslims would control the water, a plan the Prophet (saw) accepted (Ibn Ishaq, in the account of Badr). He then spent the night in prayer, and Sahih Muslim records his supplication in the Book of Jihad and Expeditions, in the chapter on the reinforcement of the Muslims by angels. The episode is cited by scholars as an example of reliance on Allah combined with planning and consultation.
The treatment of the captives is also noted. Ibn Ishaq reports that Abu Aziz ibn Umayr, a prisoner, said that the Muslims who held him gave him bread and ate dates themselves, in line with the Prophet's (saw) instruction to treat the prisoners well. The Qur'an praises those who feed the captive (76:8). Several narrations, recorded in the biographical literature, say that literate prisoners were allowed to gain their freedom by teaching Muslim children to write, though scholars differ on the strength of the chains for this report.
The Trench (Khandaq, Shawwal 5 AH, 627)
In 627 a coalition of Quraysh, Ghatafan and other tribes, numbering several thousand according to the sources, marched on Madinah. The Muslims, far fewer, dug a trench across the northern approach to the city, an idea that the sources attribute to Salman al-Farisi (ra), who knew the practice from Persia. The Prophet (saw) dug with them, and the narrations in Sahih al-Bukhari, in the chapter on the Battle of the Trench in the Book of Military Expeditions, describe the cold and hunger, and the Companions (ra) tying stones to their stomachs. The Qur'an describes the fear of the siege in Surat al-Ahzab (33:9 to 11), and the end of it in a storm and the withdrawal of the besiegers.
The siege is remembered for its endurance, its use of engineering over force, and its testing of loyalty, since the Banu Qurayza within the city were accused of breaking their treaty. Historians such as W. Montgomery Watt in Muhammad at Madina (1956) discuss the political context, and the later fate of the Banu Qurayza is discussed in the sources and among modern scholars, who differ over its details and over the number of those executed.
Mu'ta and the conquest of Makkah
At Mu'ta, in 8 AH (629), a small Muslim force met a much larger Byzantine and allied Arab army in what is now Jordan. The Prophet (saw) had named three commanders in turn, Zayd ibn Haritha, Ja'far ibn Abi Talib and Abdullah ibn Rawaha (ra), and all three were killed. Sahih al-Bukhari reports that the Prophet (saw) announced their deaths in Madinah while the battle was still going on, and that the standard was then taken by Khalid ibn al-Walid (ra), who was called a sword among the swords of Allah. Khalid (ra) is reported to have reorganised the army and withdrawn it in good order, which sources and later historians describe as a skilful retreat, although some chroniclers describe it as a victory.
The conquest of Makkah in Ramadan 8 AH (January 630) is remembered for its restraint. The Prophet (saw) entered the city after a long period of hostility, and announced that whoever entered the house of Abu Sufyan, shut his door or entered the Sacred Mosque would be safe (Sahih Muslim, Book of Jihad and Expeditions, chapter on the conquest of Makkah). He had issued orders that the army should avoid fighting unless attacked. A few named individuals were excluded from the amnesty, and the sources and scholars differ on how many were executed, although most were pardoned.
Yarmouk and Qadisiyya
The battle of Yarmouk, fought in August 636 (Rajab 15 AH) in the Yarmouk river valley, saw the Muslim armies under Abu Ubayda ibn al-Jarrah (ra), with Khalid ibn al-Walid (ra) in tactical command according to al-Tabari, face the Byzantine army of Emperor Heraclius. The numbers given in the sources are uncertain, and modern historians such as Walter Kaegi, in Byzantium and the Early Islamic Conquests (1992), consider the medieval figures inflated. The battle lasted several days, and the Muslim cavalry cut the Byzantine infantry off from its retreat. The result opened Syria to the Muslims, who then secured Jerusalem by a treaty with Patriarch Sophronius in 637, in which Umar (ra) guaranteed the safety of the people and their churches, according to the text preserved by al-Tabari.
At Qadisiyya in Iraq, the army of Sa'd ibn Abi Waqqas (ra) met the Sasanian army under Rustam. The date is given variously as 636, 637 or 638, and the battle lasted several days. Al-Tabari reports that, before the battle, Rib'i ibn Amir (ra) told Rustam that Allah had sent the Muslims to bring people from the worship of people to the worship of Allah, from the narrowness of the world to its breadth, and from the injustice of religions to the justice of Islam. This report is quoted widely, and shows how the early Muslims described their purpose, although modern historians differ on how much of the detail of such speeches is later composition.
Hattin and Ayn Jalut
At Hattin, on 4 July 1187, the army of Salah al-Din ibn Ayyub defeated the army of the Kingdom of Jerusalem under King Guy of Lusignan near Tiberias in Galilee. The Crusader army, short of water in the summer heat, was surrounded and broken. Salah al-Din then took most of the Kingdom, and Jerusalem surrendered on 2 October 1187 (27 Rajab 583 AH). The surrender terms permitted the inhabitants to ransom themselves, and the contemporary chroniclers Imad al-Din al-Isfahani and Ibn al-Athir report a rate of ten dinars per man, five per woman and one per child, with many of the poor released without payment. This is often contrasted with the capture of the city by the Crusaders in 1099, in which the sources report heavy killing of the inhabitants. Baha' al-Din ibn Shaddad, who served Salah al-Din, reports in his biography, al-Nawadir al-Sultaniyya, that he sent fruit and ice to the sick King Richard during the Third Crusade, an example of chivalry that is much quoted, though historians such as Carole Hillenbrand in The Crusades: Islamic Perspectives (1999) also show that Salah al-Din could be harsh, as in the execution of Reynald of Chatillon after Hattin.
Ayn Jalut, fought on 3 September 1260 (25 Ramadan 658 AH) in Palestine, ended the westward advance of the Mongols. The Mongols had sacked Baghdad in 1258 and killed the last Abbasid caliph of Baghdad. The Mamluk sultan Qutuz and his commander Baybars defeated the Mongol force under Kitbuqa. The battle is regarded by historians such as Reuven Amitai in Mongols and Mamluks (1995) as an important check on the Mongols, though Amitai notes that the Mongol force was probably small, since much of the army had withdrawn after the death of the Great Khan Mongke.
The ethics of war in the sources
The accounts above are read alongside the rules that the early community set for war. Sahih al-Bukhari, in the Book of Jihad and Expeditions, has a chapter on the prohibition of killing women and children in war, and Sahih Muslim records the same. The Prophet's (saw) practice, as the classical jurists such as al-Shafi'i, Ibn Qudama and al-Sarakhsi explain, was to forbid the killing of non-combatants, including women, children, the elderly, monks and those who withdraw from fighting. The Muwatta of Imam Malik, in the Book of Jihad, records that Abu Bakr (ra) told Yazid ibn Abi Sufyan (ra), as he sent him to Syria, not to kill women, children or the old, not to cut down fruit trees, not to destroy inhabited places, and not to slaughter sheep or camels except for food. Scholars note that this report has a break in its chain, but it is accepted as the basis of the jurists' rules, and the same rules are found in sound hadith.
The Qur'an adds that if the enemy inclines to peace, the Muslims should incline to it:
وَإِن جَنَحُوا لِلسَّلْمِ فَاجْنَحْ لَهَا وَتَوَكَّلْ عَلَى اللَّهِ
And if they incline to peace, then incline to it and rely upon Allah. (Qur'an 8:61)
Jurists differ on the scope of defensive and offensive warfare, and on the conditions under which a ruler may begin fighting. Some, such as many Shafi'i scholars, held that disbelief itself was a cause for fighting, while Hanafi jurists, such as al-Sarakhsi in his Sharh al-Siyar al-Kabir, held that the cause was aggression, and Ibn Taymiyya also held that non-combatants were not to be fought. Modern scholars such as Wahba al-Zuhayli in Athar al-Harb fi al-Fiqh al-Islami have argued that peace is the principle and war the exception. The stories of courage are therefore read within these limits by those who cite them.
Conclusion
The best attested stories of courage in Islamic history, such as Badr, the Trench, Yarmouk, Hattin and Ayn Jalut, are paired in the sources with accounts of consultation, endurance, amnesty and the protection of non-combatants. Historians differ on numbers, dates and motives, and jurists differ on the scope of warfare, but the Qur'an and the Sunnah set clear limits on how war is fought.
References
Qur'an 2:190, 3:123, 8:61, 33:9 to 11, 76:8
Sahih al-Bukhari, Book of Military Expeditions (Battle of the Trench; Mu'ta) and Book of Jihad (prohibition of killing women and children); Sahih Muslim, Book of Jihad and Expeditions (Badr; conquest of Makkah); Muwatta of Imam Malik, Book of Jihad
Ibn Ishaq (as edited by Ibn Hisham), Sirat Rasul Allah; al-Tabari, Tarikh al-Rusul wa al-Muluk; Ibn al-Athir, al-Kamil fi al-Tarikh; Baha' al-Din ibn Shaddad, al-Nawadir al-Sultaniyya
Walter Kaegi, Byzantium and the Early Islamic Conquests (Cambridge, 1992); Carole Hillenbrand, The Crusades: Islamic Perspectives (Edinburgh, 1999); Reuven Amitai, Mongols and Mamluks (Cambridge, 1995); W. Montgomery Watt, Muhammad at Madina (Oxford, 1956)
al-Sarakhsi, Sharh al-Siyar al-Kabir; Wahba al-Zuhayli, Athar al-Harb fi al-Fiqh al-Islami