Narrated Al-Bara: When the Prophet went out for the `Umra in the month of Dhal-Qa'da, the people of Mecca did not allow him to enter Mecca till he agreed to conclude a peace treaty with them by virtue of which he would stay in Mecca for three days only (in the following year). When the agreement was being written, the Muslims wrote: This is the peace treaty, which Muhammad, Apostle of Allah has concluded. The infidels said (to the Prophet), We do not agree with you on this, for if we knew that you are Apostle of Allah we would not have prevented you for anything (i.e. entering Mecca, etc.), but you are Muhammad, the son of `Abdullah. Then he said to `Ali, Erase (the name of) 'Apostle of Allah'. `Ali said, No, by Allah, I will never erase you (i.e. your name). Then Allah's Apostle took the writing sheet...and he did not know a better writing..and he wrote or got it the following written! This is the peace treaty which Muhammad, the son of `Abdullah, has concluded: Muhammad should not bring arms into Mecca except sheathed swords, and should not take with him any person of the people of Mecca even if such a person wanted to follow him, and if any of his companions wants to stay in Mecca, he should not forbid him. (In the next year) when the Prophet entered Mecca and the allowed period of stay elapsed, the infidels came to `Ali and said Tell your companion (Muhammad) to go out, as the allowed period of his stay has finished. So the Prophet departed (from Mecca) and the daughter of Hamza followed him shouting O Uncle, O Uncle! `Ali took her by the hand and said to Fatima, Take the daughter of your uncle. So she made her ride (on her horse). (When they reached Medina) `Ali, Zaid and Ja`far quarreled about her. `Ali said, I took her for she is the daughter of my uncle. Ja`far said, She is the daughter of my uncle and her aunt is my wife. Zaid said, She is the daughter of my brother. On that, the Prophet gave her to her aunt and said, The aunt is of the same status as the mother. He then said to `Ali, You are from me, and I am from you, and said to Ja`far, You resemble me in appearance and character, and said to Zaid, You are our brother and our freed slave. `Ali said to the Prophet 'Won't you marry the daughter of Hamza? The Prophet said, She is the daughter of my foster brother.