Abstract
The city of Yathrib (Medina), which has the biggest role in the formation and statehood of the religion of Islam, and its people, consisting of two Arab tribes named Aws and Khazraj, have great importance for Islamic history. The Prophet (pbuh) started negotiations with the surrounding tribes in the face of the oppression and persecution of the Quraysh and preferred the hajj seasons in which he could reach large masses. Especially after the death of his wife, Khadija, and his uncle, Abu Talib, who guarded and protected him, the Prophet (pbuh) increased his meetings and had the opportunity to meet with the people of Yathrib in a place called Aqabah. As a result of this meeting, the people of Yathrib gradually adopted Islam, called Muslims in Mecca, especially the Messenger of Allah, to their cities, and swore that they would protect them at the risk of their lives and open up their houses to the end. Following this promise, the Prophet (pbuh) and his companions left their homes, where they were born and grew up, and migrated to Yathrib, a city they had never known, where they could practice their religion freely and be sure that they would be safe.