الخندق والحديبية
The Trench and Hudaybiyah
Madinah besieged, then a treaty that looked like a loss and was a clear victory.
627 to 628 CE
5 AH
Digging the trench
An army of many tribes marched on Madinah. The Muslims dug a trench across the open side of the city, in the cold, hungry. The Prophet ﷺ dug with them:
"Then he got up, and a stone was tied to his belly for we had not eaten anything for three days. So the Prophet (ﷺ) took the spade and struck the big solid rock and it became like sand."
Sahih al-Bukhari 4101 (opens in a new tab) "When the Prophet saw their hardship and hunger, he said, 'O Allah! The real life is the life of the Hereafter, so please forgive Ansar and the Emigrants.""
Sahih al-Bukhari 4099 (opens in a new tab) 5 AH
The armies are driven away
After weeks of siege, Allah sent a wind and unseen armies, and the confederates left.
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ ٱذْكُرُوا۟ نِعْمَةَ ٱللَّهِ عَلَيْكُمْ إِذْ جَآءَتْكُمْ جُنُودٌ فَأَرْسَلْنَا عَلَيْهِمْ رِيحًا وَجُنُودًا لَّمْ تَرَوْهَا ۚ وَكَانَ ٱللَّهُ بِمَا تَعْمَلُونَ بَصِيرًا ٩ إِذْ جَآءُوكُم مِّن فَوْقِكُمْ وَمِنْ أَسْفَلَ مِنكُمْ وَإِذْ زَاغَتِ ٱلْأَبْصَـٰرُ وَبَلَغَتِ ٱلْقُلُوبُ ٱلْحَنَاجِرَ وَتَظُنُّونَ بِٱللَّهِ ٱلظُّنُونَا۠ ١٠
O you who have believed, remember the favor of Allāh 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 Allāh, 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 Allāh [various] assumptions.
Quran, Surah Al-Ahzab (33:9-10) (opens in a new tab) "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."
Sahih al-Bukhari 4110 (opens in a new tab) 6 AH
"Write: Muhammad ibn Abdullah"
The Prophet ﷺ set out with his Companions to perform umrah, but Quraysh blocked the way at Hudaybiyah. The Companions pledged themselves to him under a tree, and Allah was pleased with them. Then a treaty was written, and Quraysh's envoy Suhayl objected even to his title:
۞ لَّقَدْ رَضِىَ ٱللَّهُ عَنِ ٱلْمُؤْمِنِينَ إِذْ يُبَايِعُونَكَ تَحْتَ ٱلشَّجَرَةِ فَعَلِمَ مَا فِى قُلُوبِهِمْ فَأَنزَلَ ٱلسَّكِينَةَ عَلَيْهِمْ وَأَثَـٰبَهُمْ فَتْحًا قَرِيبًا ١٨
Certainly was Allāh pleased with the believers when they pledged allegiance to you, [O Muḥammad], under the tree, and He knew what was in their hearts, so He sent down tranquility upon them and rewarded them with an imminent conquest
Quran, Surah Al-Fath (48:18) (opens in a new tab) "So, write: "Muhammad bin `Abdullah." The Prophet (ﷺ) said, "By Allah! I am Apostle of Allah even if you people do not believe me. Write: Muhammad bin `Abdullah.""
Sahih al-Bukhari 2731 (opens in a new tab) 6 AH
Abu Jandal
The terms seemed hard: anyone who fled Makkah to the Muslims had to be sent back. At that very moment Suhayl's own son, Abu Jandal, a Muslim who had escaped, came staggering in his fetters:
"Abu Jandal said, "O Muslims! Will I be returned to the pagans though I have come as a Muslim? Don't you see how much I have suffered?""
Sahih al-Bukhari 2731 (opens in a new tab) 6 AH
"Is it a victory?" "Yes."
Umar was deeply troubled by the treaty. On the way home Allah revealed Surah Al-Fath:
إِنَّا فَتَحْنَا لَكَ فَتْحًا مُّبِينًا ١
Indeed, We have given you, [O Muḥammad], a clear conquest
Quran, Surah Al-Fath (48:1) (opens in a new tab) "He asked: Is (this truce) a victory? He (the Messenger of Allah) replied: Yes. At this Umar was pleased, and returned."
Sahih Muslim 1785 (opens in a new tab)