The Treaty of Hudaybiyyah: The Defeat That Was Actually a Victory
Fourteen hundred companions stood at the edge of Makkah. Dressed in ihram. No weapons except small travel swords kept sheathed. They had come for one purpose only — to perform Umrah, to visit the House of Allah they had been driven from years earlier.
They never made it inside.
The Quraysh blocked the road. Refused entry. Threatened war if the Muslims tried to advance.
What followed was a treaty so seemingly unfavorable, so apparently humiliating, that hardened companions — men who had survived Badr and Uhud — argued with the Prophet (peace be upon him) about its terms. Some nearly wept with frustration.
Umar ibn Al-Khattab himself approached Abu Bakr, furious: "Aren't we Muslims, and aren't they idolaters? Why should we give in to them?"
Then Allah revealed something that changed how the entire ummah understood what had just happened.
"Indeed, We have given you a clear conquest." (Qur'an 48:1)
A conquest. Not the failed pilgrimage it appeared to be. Not the humiliating compromise the terms suggested. A clear, explicit victory — declared by Allah Himself, about an event that looked, on its surface, like nothing close to one.
I used to skip past Hudaybiyyah when studying seerah. It felt like a confusing detour between the more dramatic battles. No fighting happened. No swords were drawn. Why does this treaty matter so much?
Then I understood what actually happened there, and it became one of the seerah events I return to most — especially when my own life looks like defeat on the surface.
Let me walk you through it.
The Background: A Dream and a Journey
The Vision:
In the sixth year after the Hijrah, the Prophet had a vision — he saw himself and his companions entering Makkah and performing Umrah.
He announced this to the companions. Excitement spread immediately. After six years of exile from their home city, after years of persecution, after the heartbreak of leaving the Ka'bah behind — they were going home, even if only for the rites of Umrah.
The Preparation:
Roughly 1,400 to 1,500 companions joined him. Notably, they came in the dress of pilgrims — ihram — and brought sacrificial animals, signaling clearly that this was a peaceful religious journey, not a military expedition.
No army formation. No war preparation. Just pilgrims, heading toward the House of Allah.
The News Reaches Quraysh:
When Quraysh heard the Muslims were approaching Makkah — even peacefully, even in pilgrim dress — old fears and old pride collided. Allowing the Muslims to enter, even for worship, felt to Quraysh like an admission of weakness, a crack in their authority over the city they had ruled for generations.
They mobilized to block the road.
Dr. Ahmed told me: "Put yourself in the Prophet's position for a moment. You have a direct vision from Allah telling you to go. You bring over a thousand of your most devoted followers, dressed in peace, carrying no weapons of war, intending nothing but worship. And you're stopped anyway. That alone is a test most of us would struggle to understand in the moment."
The Standoff at Hudaybiyyah
The Camel That Wouldn't Move:
As the Muslims approached the outskirts of Makkah, near a place called Hudaybiyyah, the Prophet's camel, Al-Qaswa, suddenly knelt down and refused to move further.
Companions assumed she was simply stubborn or tired. The Prophet corrected them: "She has not been prevented by stubbornness, and that is not her character, but she was stopped by the One Who stopped the elephant."
A reference to the famous story of Abrahah's army, stopped by Allah from reaching the Ka'bah generations earlier. The Prophet was telling his companions: this is not an accident. Allah Himself is halting our advance, for reasons we don't yet see.
Setting Up Camp:
The Muslims set up camp at Hudaybiyyah, just outside Makkah's boundary. Water was scarce. The situation was tense. Quraysh had positioned forces to physically block any advance toward the Ka'bah.
The Negotiations Begin:
What followed was a careful, multi-stage negotiation. Quraysh sent representatives. The Prophet sent his own, including, significantly, Uthman ibn Affan — chosen partly because he had relatives among Quraysh who might receive him favorably.
The False Rumor That Almost Caused War:
At one point, a rumor spread among the Muslims that Uthman had been killed by Quraysh during these negotiations. Fury spread through the camp.
In response, the Prophet called the companions to renew their pledge of loyalty to him — famously known as Bay'at Ar-Ridwan, the Pledge of Ridwan, given under a tree at Hudaybiyyah. Every companion present pledged to fight to the death if necessary, fully prepared for war.
Allah later praised this pledge directly in the Qur'an: "Indeed, Allah was pleased with the believers when they pledged allegiance to you under the tree." (Qur'an 48:18)
Fatima shared: "I think about Bay'at Ar-Ridwan whenever I feel like my commitment to something is being tested unfairly. Those companions had no idea if they were about to die. They pledged anyway, completely, without hesitation. That's the kind of full-hearted commitment Allah praised by name in the Qur'an — not because the outcome was certain, but because the sincerity was complete."
Uthman, as it turned out, was alive and safe. The rumor was false. But the pledge had already happened, and Allah's pleasure with it had already been recorded.
The Terms of the Treaty
Suhayl ibn Amr Arrives:
Eventually, Quraysh sent a more serious negotiator, Suhayl ibn Amr, to finalize terms directly with the Prophet.
What Was Agreed:
The terms, as they were finalized, included several provisions that struck many companions as deeply unfavorable to the Muslims:
- The Muslims would NOT enter Makkah that year. They would return to Madinah without performing the Umrah they had traveled for.
- A ten-year truce would be established between the Muslims and Quraysh — no fighting between the two sides during this period.
- If anyone from Quraysh defected to the Muslims without their guardian's permission, the Muslims would return them to Quraysh. But if a Muslim defected to Quraysh, Quraysh would NOT be obligated to return them.
- The following year, the Muslims could return to perform Umrah, staying in Makkah for three days only, entering unarmed (aside from sheathed swords).
- Tribes were free to ally with either side as they chose.
The Detail That Broke Hearts:
When writing the treaty document, the Prophet dictated: "Bismillahir-Rahmanir-Rahim. This is what Muhammad, the Messenger of Allah, has agreed with..."
Suhayl objected immediately. "We don't recognize 'Ar-Rahman.' Write what we know: 'Bismillah' only." And further: "We don't accept 'Messenger of Allah.' Write only your name and your father's name."
Companions, especially Umar, were outraged. To remove "Messenger of Allah" — the very title that defined the Prophet's mission — felt like an unbearable concession.
The Prophet, remarkably calm throughout, agreed to both changes. He told the scribe to write simply: "Muhammad ibn Abdullah."
Ahmed told me: "That detail — agreeing to remove his own prophetic title from the document — is what convinces me most about the Prophet's character in this moment. He wasn't protecting his ego or his image. He cared about the larger outcome, the bigger picture Allah had shown him, even when every companion around him was struggling to accept the apparent humiliation of it."
The Companions' Reaction — Including Umar's
Umar's Confrontation:
Umar ibn Al-Khattab — known for his strength, his bluntness, his zeal for Islam — could not contain his frustration. He approached the Prophet directly: "Are you not the Messenger of Allah? Are we not Muslims, and are they not idolaters? Why should we accept this humiliation?"
The Prophet responded with calm certainty: "I am the Messenger of Allah, and I do not disobey Him, and He will not let me down."
Still unsatisfied, Umar went to Abu Bakr and repeated his frustration. Abu Bakr — known for his unwavering trust — gave him almost the exact same answer the Prophet had: "He is the Messenger of Allah, and He will not let him down. Hold fast to his stirrup."
Umar later said, recalling this moment in his life: "I kept fasting, giving charity, freeing slaves, and praying because of what I had done that day, fearing the consequences of my words."
Why This Matters:
Even Umar — a man whose conviction in Islam was never in question, whose courage was legendary — struggled to see what Allah was doing in that moment. His honest confusion, recorded for history, gives every believer permission to feel confused too, when circumstances look like defeat.
The companions sacrificed their animals right there at Hudaybiyyah, since they couldn't enter Makkah, and returned to Madinah — having traveled all that distance, prepared with such hope, and apparently accomplished nothing they set out to do.
Zaynab shared: "Umar's later regret — fasting and giving charity for years because of doubts he expressed in one moment of frustration — comforts me more than almost any other detail in the seerah. Even the great companions doubted in the moment. Even they needed time and revelation to understand what Allah was actually doing. I don't need to have perfect clarity in my own hard moments either."
The Revelation That Reframed Everything
"Indeed, We Have Given You a Clear Conquest":
Shortly after the treaty was signed and the Muslims began their return journey to Madinah, Allah revealed Surah Al-Fath, opening with these words: "Indeed, We have given you a clear conquest." (Qur'an 48:1)
The Prophet was overjoyed. He told the companions: "Today a verse has been revealed to me that is dearer to me than anything else on earth."
Why a Treaty Was a "Conquest":
This single revelation reoriented the companions' entire understanding of what had just happened. What looked, by every visible measure, like a failure — no Umrah performed, prophetic title removed from a document, a seemingly disadvantageous truce — was, in Allah's own words, a clear victory.
The Practical Fruits That Followed:
History bore this out almost immediately. In the two years following Hudaybiyyah:
The Truce Opened Communication: With active warfare paused, tribes across Arabia could observe Islam without the immediate pressure of conflict. Many who had been hesitant to even consider Islam while it was associated with constant battle now had space to investigate it.
Conversions Multiplied Dramatically: Scholars note that more people accepted Islam in the two years following Hudaybiyyah than in the entire period before it — including significant figures like Khalid ibn Al-Walid and Amr ibn Al-Aas, both of whom would go on to become legendary military commanders for Islam.
The Treaty's Own Violation Led to Greater Victory: When Quraysh's allies later violated the truce by attacking a Muslim-allied tribe, it gave the Prophet legitimate grounds to march on Makkah — leading, two years later, to the largely bloodless Conquest of Makkah itself, achieved with minimal resistance precisely because the intervening years of truce had softened so many hearts toward Islam.
The Strategic Brilliance Made Visible:
What seemed like Muslim concessions actually served Muslim interests profoundly. The ten-year truce removed Quraysh's primary justification for ongoing hostility. The pause in fighting let Islam's message spread on its own merits rather than through the chaos of war. And the very next year's Umrah — performed exactly as the treaty allowed — was itself a powerful symbol: the Muslims walking calmly into Makkah, performing their rites, leaving peacefully, exactly as agreed.
Ibrahim told me: "When my business partnership fell apart years ago, I felt like I'd lost everything I worked for. Every term of the dissolution felt unfair to me at the time. Two years later, I could see clearly that the 'unfair' terms I'd accepted had actually freed me to build something far better than what I'd lost. I think about Hudaybiyyah every time I'm tempted to judge a difficult situation purely by how it looks in the moment it's happening."
Lessons From Hudaybiyyah
- Allah's Plan May Look Like Defeat in the Moment:
The companions traveled with hope, prepared sacrifices, dressed for worship — and were turned back at the door. Sometimes obedience and sincerity don't produce the outcome you expected, and that doesn't mean Allah has abandoned the plan.
- Sincere Effort Is Rewarded Even When the Goal Isn't Reached:
The companions didn't complete their Umrah that year. But the Bay'at Ar-Ridwan — their pledge of total commitment under the tree — was specifically praised by Allah, regardless of the pilgrimage's outcome. Effort and sincerity carry their own reward, separate from whether the immediate goal is achieved.
- Wise Leadership Sometimes Means Accepting Apparent Humiliation for Greater Good:
The Prophet agreeing to remove his own prophetic title from the treaty document is one of the clearest examples in all of seerah of prioritizing substance over symbol, long-term wisdom over short-term pride.
- Doubt in Difficult Moments Doesn't Disqualify You:
Umar's frustration, recorded honestly in history rather than hidden, shows that even the most devoted believers struggle to see Allah's wisdom in real time. What matters is staying within the fold of obedience even while questioning, as Umar did — he voiced his confusion but never disobeyed.
- Patience Often Reveals Its Wisdom Only in Hindsight:
It took the revelation of Surah Al-Fath, and then years of unfolding history, for the full picture of Hudaybiyyah's brilliance to become visible. Some of Allah's wisdom is only legible looking backward.
- Apparent Setbacks Can Quietly Build the Conditions for Greater Victory:
The Conquest of Makkah, two years later, was made possible specifically because of the relative peace, the increased conversions, and the softened hearts that Hudaybiyyah's truce had cultivated. The "defeat" built the foundation for the actual triumph.
Conclusion: Recognizing Your Own Hudaybiyyahs
Every believer eventually faces their own version of Hudaybiyyah — a moment where sincere effort, full preparation, and genuine intention meet an outcome that looks, by every visible measure, like failure.
The job interview you prepared for perfectly, that still ended in rejection. The relationship you invested in fully, that still ended. The dream you pursued with complete sincerity, that still seems blocked at every turn.
Hudaybiyyah teaches something specific for exactly these moments: the visible outcome and the actual outcome are not always the same thing. What looks like a closed door in the moment may be Allah quietly rerouting you toward something you cannot yet see — exactly as He rerouted 1,400 companions away from a pilgrimage and toward a conquest they couldn't have imagined while standing, frustrated, at the edge of a city they weren't allowed to enter.
The companions didn't have Surah Al-Fath revealed to them until after they accepted the apparently unfavorable terms. Their trust came before the explanation, not after it.
That sequence matters. Trust first. Understanding later — sometimes much later, sometimes only in hindsight, sometimes only on the Day of Judgment itself.
"Indeed, We have given you a clear conquest."
May Allah grant every believer the patience of the companions at Hudaybiyyah, the sincerity of the Bay'at Ar-Ridwan, and the trust to recognize that what looks like a closed door today may be tomorrow's clearest victory.
Allahu a'lam. And Allah knows best.