Conditions of the Treaty of Hudaibiyah
The conditions of the treaty were as follows:
This year, the Holy Prophet (sa) and his companions should return. And the following year, they could come to Mecca and perform the Umrah; however, except for carrying their swords in their sheaths, they will not be allowed to bring any other weapons. And that they could not stay in Mecca for more than three days.
If anyone from among the Meccans was to go Medina, the Holy Prophet (sa) was not to grant him refuge, even if he was a Muslim and he should be returned. However, if a Muslim were to leave Medina and go to Mecca, he would not be returned. According to another narration, it stated that if someone from among the Meccans were to go to Medina without the permission from his guardian, then he should be returned.
Every tribe of Arabia had the choice to form an alliance with either the Muslims or the Meccans. The treaty was to last for a period of 10 years and there would be no fighting between the Quraish and the Muslims during this period.
“Two copies were made of this treaty and various prominent individuals from amongst both sides signed the treaty. Those who signed the treaty from amongst the Muslims were Hazrat Abu Bakr (ra), Hazrat Umar (ra), Hazrat Uthman (ra) – who had arrived back from Mecca by then i.e. the disbelievers had let him go and therefore he also signed on the treaty, Abdur Rahman (ra) bin Auf, Saad (ra) bin Abi Waqas and Abu Ubaidah (ra). After the completion of the treaty, Suhail bin Amr took a copy of the treaty and returned to Mecca and the other copy remained with the Holy Prophet (sa).”
(Sirat Khatamun-Nabiyyin, Hazrat Mirza Bashir Ahmad (ra), pp. 749-769)