غزوة الخندق / الأحزاب
The Battle of the Trench (Al-Khandaq / Al-Ahzab)
Northern approach to Madinah
5 AH
Shawwal
627 CE
Expedition
Event 41 of 49
Ar-Raheeq al-Makhtum says that Quraysh and its allies, about 4,000 men under Abu Sufyan, were joined by tribes from the east, Ghatafan among them, and that an army of about 10,000 gathered near Madinah in Shawwal, 5 AH. On the proposal of Salman al-Farisi the Muslims dug a trench across the northern side of the city, the most exposed, which Ar-Raheeq calls a stratagem unknown in Arabia before. About 3,000 Muslims took position behind it. The siege lasted a little over a month, until Dhul Qa'dah. Ar-Raheeq describes it as a battle of nerves with little fighting, in which six Muslims and ten polytheists were killed, and says wind, rain and cold wore the coalition down until it left.
Why this matters
Sahih al-Bukhari 4098, narrated by Sahl ibn Sad, shows the Companions digging and carrying the soil on their shoulders, with the Prophet ﷺ saying there is no life except the life of the Hereafter and asking forgiveness for the Muhajirun and the Ansar. Ar-Raheeq says the Prophet ﷺ was at the head of the diggers and that hunger was severe. It says Banu Qurayzah broke their pact with the Muslims, and that Nu'aym ibn Mas'ud, a man of Ghatafan who said he had become Muslim in secret, made Quraysh, Ghatafan and the Jews distrust one another. Sahih al-Bukhari 4110, narrated by Sulayman ibn Surad, records the Prophet ﷺ saying, when the clans were driven away, that from then on the Muslims would go out against them and they would not come out against the Muslims. Ar-Raheeq quotes Surah al-Ahzab (33:10-13 and 33:22) in its account of the siege.
Quran references
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ ٱذْكُرُوا۟ نِعْمَةَ ٱللَّهِ عَلَيْكُمْ إِذْ جَآءَتْكُمْ جُنُودٌۭ فَأَرْسَلْنَا عَلَيْهِمْ رِيحًۭا وَجُنُودًۭا لَّمْ تَرَوْهَا ۚ وَكَانَ ٱللَّهُ بِمَا تَعْمَلُونَ بَصِيرًا إِذْ جَآءُوكُم مِّن فَوْقِكُمْ وَمِنْ أَسْفَلَ مِنكُمْ وَإِذْ زَاغَتِ ٱلْأَبْصَٰرُ وَبَلَغَتِ ٱلْقُلُوبُ ٱلْحَنَاجِرَ وَتَظُنُّونَ بِٱللَّهِ ٱلظُّنُونَا۠ هُنَالِكَ ٱبْتُلِىَ ٱلْمُؤْمِنُونَ وَزُلْزِلُوا۟ زِلْزَالًۭا شَدِيدًۭا
Surah Al-Ahzab, 9-11
O you who have believed, remember the favor of Allah upon you when armies came to [attack] you and We sent upon them a wind and armies [of angels] you did not see. And ever is Allah, of what you do, Seeing. [Remember] when they came at you from above you and from below you, and when eyes shifted [in fear], and hearts reached the throats and you assumed about Allah [various] assumptions. There the believers were tested and shaken with a severe shaking.
Saheeh International
Hadith references
Sahih al-Bukhari, #4098
Narrated by: Sahl ibn Sa'd
Grading: Sahih
We were with Allah's Messenger (ﷺ) in the Trench, and some were digging the trench while we were carrying the earth on our shoulders. Allah's Messenger (ﷺ) said, 'O Allah! There is no life except the life of the Hereafter, so please forgive the Emigrants and the Ansar."
English translation from sunnah.com, for this collection and number
Sahih al-Bukhari, #4110
Narrated by: Sulayman ibn Surad
Grading: Sahih
When the clans were driven away, I heard the Prophet (ﷺ) saying, "From now onwards we will go to attack them (i.e. the infidels) and they will not come to attack us, but we will go to them."
English translation from sunnah.com, for this collection and number