Then, in the sixth year of the Hijrah, the peace of Hudaibiyah was signed between the Prophet peace be and blessings upon him and the
Quraysh on the following terms.
1. They agreed to suspend war for ten years during which time people will keep the peace and will not obstruct others. The Quraysh will not wage war against the Muslims nor help others against them, but will remain neutral in case of Muslims fighting a third party.
2. There will be no secret stealing and misappropriation.
3. Whoever wants to enter into a pact with Muhammed
(peace be and blessings upon him) and conclude a treaty with him can do so.
And whoever wants to enter into a pact with the Quraysh and conclude a treaty with them can do so.
4. Whoever comes to Muhammed (peace be and blessings upon him) without permission of his guardian will be returned and whoever comes to the Quraysh from the companions of the Prophet (peace be and blessings upon him) will not be returned.
5. Muhammed (peace be and blessings upon him) will go back this year with his companions and will enter the Kaʹbah next year with his
companions. He will stay there for three days and he will not enter with arms except the arms carried by travelers— swords in sheaths.
There is not a single example where Muhammed peace be and blessings upon him made a treaty and then broke it. He made treaties to establish peace in the country, for his main aim was peace. It was
Quraysh who first forced him to leave his hometown and then began war preparations against him.