Mohammed had very different experiences in Mecca at the beginning of the Islamic religion than he did in Medina. The people in Mecca reacted very harshly to Mohammed’s preaching. His converts were slow and limited to certain people. While in Medina, after he left Mecca with his people, he was more accepted by the Medinians. He was needed by the people in Medina to bring peace and some form of law.
At the beginning of the Islamic religion when Mohammed was trying to preach and gain followers in Mecca, the resistance to him was strong by the rich merchants. They did not want him to be around because they were afraid that his teachings would interfere with the flow of the many gods in Mecca and trade. At the time, Mecca was a city of forty thousand people, it was the center of trade. Islam was against all other religions and gods that were being worshipped in Mecca. Most of the converts were old people, sick, and his family. The men against Mohammed feared that he would ruin the peace and society of the area. Mohammed was protected by his uncle, Abu Talib, who was the leader of the Hashimite Klan. No one was able to touch him while Abu Talib was alive. To force Mohammed and his followers away the other leading people in Mecca imposed and economic boycott on Mohammed and anyone who associated with him.
The conditions for Mohammed and his people were becoming too severe. They were being met with open opposition in the streets, the Muslims were being beaten in the streets. Abu Talib dies and his brother, Abu Lahab, is left in charge of the Hashimite Klan. Abu Lahab hates Mohammed which puts more pressure on him because he no longer has anyone to help protect him in Mecca. He is forced to find a way for the Muslims to get out safely.
In Medina at the time there was no peace or control. When they heard of Mohammed and what was happening to him there. They offered to let him come and live there