The conflict at the time of the Prophet was an inseparable part. The history of the prophet's life from his birth to his death which is the history of the conflict of desert life. One event long after the Badr war ahead of the Fathu Mecca incident, was the Hudaibiyah incident. In which event the agreement between the Muslims and the Quraysh rulers took place. Despite being detrimental to the Muslims according to Umar Bin Khattab and very profitable to the Quraish of Mecca. But this event teaches many lessons in Islamic history. The Hudaibiyah Agreement was carried out in Hudaibiyah which is a city which is about 22-26 KM Kilometers from the Grand Mosque. The name Hudaibiyah is the name of the lake which is known as the Asy-Syumaisi lake. The hudaibiyah agreement was carried out in March 628M. The hudaibiyah agreement occurred because the Meccan Quraysh forbade the Muslims of Medina from performing Hajj and Umrah. In this case, the Muslims and Quraysh negotiated to enter into an agreement.
      The conflict experienced by the Prophet actually existed since he was small between him and his own nanny uncle. Where the Prophet did not immediately give up his polytheism-paganism Arab beliefs, on the other hand his uncle Ali Bin Abi Talib was an elite of Quraysh, in the end every time the prophet asked his uncle to pray, he always kept away secretly. The figure that is very attached to the Prophet himself namely shiddiq, Amanah, tabligh, fathanah is reflected in how the Prophet used conflict resolution technology. Often conflicts are assumed to be something negative, destabilizing, and detrimental. Whereas conflict is a normal thing and cannot be avoided because it is a unity between society and conflict which cannot be separated and is natural. The figure of Rasulullah who an actor in is resolving conflicts, both when he is in the position of being a third party (in domestic conflicts) and when he is included in a conflicting group (international conflict after he became a leader in Medina). Rasulullah has several methods in creating unity and peace in resolving conflicts.
      In this case, the hudaibiyah agreement that occurred at the time of the Prophet was one of the Prophet's strategies in resolving conflicts by means of a win-win solution through diplomacy. The diplomacy carried out by the Prophet resulted in several agreements through negotiations, conveying good messages, reconciliation, through written letters such as MoUs, correspondence, personal approaches and also through military approaches. This is what will be explained in the following discussion.
   Before moving to Medina, the Prophet was a leader who was still very minority with weak economic power and had no power in Mecca which affected spiritual and integrity. In the history of the Prophet Muhammad SAW, Islam is the largest religion with the largest number of followers. However, as the central parent in this mission, there are many challenges when broadcasting Islam. Various insults, ridicule, even physically always come and go. Even the Prophet Muhammad saw. once pelted with stones when he was about to tell the teachings of Islam in Taif until his forehead bled. When the conflict, the prophet and his followers are the losers, oppressed, and killed. Even so, before migrating physically, but not morally and mentally. However, after moving to Medina, the Prophet had prepared well regarding negotiations, negotiations, and bargaining and fighting power to face the Meccan Quraysh. Not long after the khandaq war, there was a hudaibiyah event where the prophet performed a very elegant conflict resolution technology. The win-win solution carried out by the prophet by using integrative negotiations where neither party loses nor wins. So that the Quraysh of Mecca and the Muslims of Medina benefited from the negotiations.
   In the hudaibiyah agreement process, the prophet was a very lenient figure, and was flexible in accepting the clauses proposed by the Quraysh. The characteristics of the Prophet's conflict management are closely related to the integrity of the Prophet in spreading the Islamic religion in communicating with the Meccan Quraish people. Principles related to faith and Aqidah cannot be shaken, but in social and political matters, the prophet can be bargained for and negotiated. The problem of theology, the prophet determines distributively whatever the risk. However, regarding social relations, the prophet prefers to be integrative. The Hudaibiyah Agreement is narrated from the beginning of the Prophet's dream in the 6th year after he migrated to Medina. In his dream, the Prophet and his companions performed the Umrah pilgrimage by traveling to Mecca, setting foot in the Grand Mosque, and taking the keys to the Kaaba. So, The Messenger of Allah told his friends about the dream regarding the plan to perform the Umrah pilgrimage to Medina. The friends agreed and finally at the beginning of the month of Dzulqa'dah in the 6th year of Hijriyah, Rasulullah SAW together with 1500 of his friends left for Mecca. Meanwhile, leadership in Medina was temporarily surrendered to Abdullah bin Ummi Maktum. In the entourage of Rasulullah SAW, Rasulullah SAW asked his friends to immediately wear ihram clothes, intend to carry out Umrah, and recite the talbiah along the way. Even so, the Quraysh in Mecca remained suspicious and even tried to block the entourage of Rasulullah SAW from being able to enter the City of Makkah. Rasulullah SAW together with 1500 of his companions went to Makkah. Meanwhile, leadership in Medina was temporarily surrendered to Abdullah bin Ummi Maktum. In the entourage of Rasulullah SAW, Rasulullah SAW asked his friends to immediately wear ihram clothes, intend to carry out Umrah, and recite the talbiah along the way. Even so, the Quraysh in Mecca remained suspicious and even tried to block the entourage of Rasulullah SAW from being able to enter the City of Makkah. Rasulullah SAW together with 1500 of his companions went to Mecca. Meanwhile, leadership in Medina was temporarily surrendered to Abdullah bin Ummi Maktum. In the entourage of Rasulullah SAW, Rasulullah SAW asked his friends to immediately wear ihram clothes, intend to carry out Umrah, and recite the talbiah along the way. Even so, the Quraysh in Mecca remained suspicious and even tried to block the entourage of Rasulullah SAW from being able to enter the City of Mecca.
     Soon after, the Prophet sent Utsman bin Affan to convey a message to the Quraish regarding the intentions of the delegation from Medina who wanted to perform Umrah. Uthman became the choice, especially because he was known to have a soft attitude and had many influential relatives among the Meccan Quraysh. However, due to lengthy negotiations, Uthman was forced to stay longer in Mecca than previously planned. After some time, rumors spread that Utsman was killed by the Quraish. Hearing the news, Rasulullah SAW immediately ordered his companions to gather and take an oath of allegiance, that they would not return home before fighting the Quraysh. Realizing the situation was getting precarious, the Quraish sent Suhail bin Amr to discuss a peace treaty with Rasulullah SAW. In the negotiations carried out by the Quraish and the Medina, an agreement that we know as the hudaibiyah agreement was carried out. Some of the strategies that the Prophet did were none other than to bring peace. The contents of the hudaibiyah agreement include:
1. The Muslims are willing to postpone Umrah to Baitullah until next year.
2. When Umrah is performed, Muslims are only allowed to bring weapons that a traveler usually carries, namely a spear and a sword in a sheath.
3. The two sides also agreed to make peace through a 10-year ceasefire.
4. If the Muslims come to Mecca, the Quraysh are not obliged to return the person to Medina. Meanwhile, if the people of Mecca come to the Prophet in Medina, the Muslims must return the person to Mecca.
      We can see, the Prophet as the leader of the Muslims in this hudaibiyah agreement carrying out trust as the head of government at his time was a role model to be followed in all aspects of life. The Prophet taught his people to solve every problem by way of deliberation. As in the Al-Qur'an letter Ali-Imran Verse 159:
"So it is because of mercy from Allah that you are gentle with them. If you had been hard and hard-hearted, they would have distanced themselves from around you. Therefore forgive them, ask forgiveness for them, and consult with them in this matter. Then when you have made up your mind, put your trust in Allah. Verily, Allah loves those who put their trust in Him." (Ali-Imran: 159)