In Madinah the Prophet Sallallahu Alayhi Wasallam was able to work freely in spreading Islam. The followers of Islam increased day after day. But the threat by the Makkans did not stop. A few physical confrontations with the Makkans were ensued. Sometimes the battles were won by the Muslims and sometimes by the Makkans. The Prophet Sallallahu Alayhi Wasallam also engaged in battle with the Byzantine and Persian powers that were jeopardizing the existence of Islam from the north and the east. But confrontation with the Makkans stopped for a while after the treaty of Hudaibiyah had been signed by the Muslims and the Makkans.
During the Madinah period, the Muslims also signed treaties with the Jews of Madinah and tribes around the city. The Jews broke the treaty which led to their expulsion out of the Arabian Peninsula in the time of the Khalifa Umar RA.
In Madinah the Prophet Sallallahu Alayhi Wasallam succeeded in establishing Islam as a way of life in its true meaning. He was not only giving guidance on purely religious matters such as Salaah (prayers) Zakah (almsgiving)) Sawm (fasting) and hajj (pilgrimage) and examples in these matters) but also provided Muslims with rules and laws covering social, economic) political fields.
It was in Madinah that the Prophet Sallallahu Alayhi Wasallam received envoys and emissaries from various tribes and nationals, asking matters of various sorts; demanding dialogues, negotiations etc. Among the emissaries was an envoy representing the Christian community in Najran (South Arabia). The Prophet Sallallahu Alayhi Wasallam welcomed them, entertained them as honoured guests and even allowed them to conduct their religious service in his city. It was a good occasion to share each other’s views on matters of religion. Some members of the envoy were deeply impressed by the performance of Muslims in serving them which led them to become Muslims.