Prophet Muhammad (peace be upon him) strove for about thirteen years of his time of prophethood in Mecca to spread the message of tawheed (monotheism). When he realized that his people in Mecca would not answer his Da`wah (call to monotheism), he began to look for alternatives.
For example, he went to the neighboring Taif to talk to them, but they rejected his Da`wah. Then, he focused on the people coming to Mecca during the Hajj season and other times to spread the message of Islam and see who will stand behind him when spreading his Da`wah.
Watch this video to learn lessons from the Hijrah (Migration) from Mecca to Medina!
By kind permission of Sheikh Abdur-Raheem McCarthySoucre Link