It is not quite clear how the Prophet managed to break...
It is not quite clear how the Prophet managed to break through the circle that had been thrown round his house without arousing attention. What is certain is that God had willed to deliver His chosen Messenger from the grasp of those vile and lowly persons. The Prophet left Mecca in the heart of the night and took refuge in a cave, and then continued on to Medina using back roads.
Once he reached the city, it was clear that the treacherous plan of the Quraysh had ultimately harmed them and benefited Islam and the Muslims. The powerful hand that had protected the burning torch of Islam for thirteen years against all harm was able with ease to bring this conspiracy to naught. Before the migration of the Prophet, a number of citizens of Medina had come to Mecca to seek the support of the Quraysh in the tribal wars that for years had pitted the Aws against the Khazraj.
Despite the warnings of the Quraysh, they had listened to the words of the Prophet, upon whom be peace, and had been deeply affected, even transformed, by them. The next time that they came to Mecca in order to perform the pilgrimage, they had formally accepted the summons of the Messenger of God and embraced Islam. After leaving Mecca and returning to their native city, they expended great efforts to enlighten the people of Yathrib and convey the Divine message to all classes of the population.
This represented in itself a massive blow to the foundations of idolatry. The people of Medina were exhausted by the long tribal wars, and they saw in the call of the Messenger a message of hope and a means of deliverance from the consuming fire of civil strife.
In order to appreciate the need of society at that time for the great movement of Islam and to grasp the role played by Islam in putting an end to corruption and misguidance, we must understand the situation prevailing in the Arabian Peninsula. ‘Ali, upon whom be peace, said: "God sent Muhammad, upon whom be peace and blessings, to warn people away from the path in which they were engaged, and He appointed him trustee of His heavenly decrees.
At that time, O Arabs, you aware following the worst of beliefs and customs, and you lived in the most deprived of all lands. You slept in the midst of rough stones and poisonous snakes, drank foul water, ate no proper food, split each other's blood, and disregarded the ties of kinship.