When he first arrived at the city he built the first mosque in the history of Islam at a town called
Quba, located on the outskirts of Madinah. He also built a second mosque within Madinah.
At the time the Muslims would always face Jerusalem when they performed their prayers. Soon
afterwards the direction of prayer was changed to Makkah, the city the Muslims had migrated
from where the Holy Ka’ba (Sacred House) is located.
A strong sense of brotherhood between the migrants from Makkah (known as the
and the residents of Madinah (known as the
) was established by the Prophet (peace be
upon him). He also set up treaties with different communities including the Jews and the tribes
already living in Madinah.
During his 10 years in Madinah the Prophet (peace be upon him) continued to spread the
message of Islam and thousands of people embraced the faith throughout Arabia.
Naturally his enemies in Makkah and elsewhere didn’t sit idly by. The Muslims faced many
important battles over the coming years such as the Battle of Badr, the Battle of Uhud, the Battle
of the Trenches where the city of Madinah was under siege, and other battles which will not be
covered in this beginner’s guide.
One of the most significant events during this time in the Prophet’s life was the Conquest of
Makkah. After living in Madinah for 8 years, the Muslims who migrated from their home were
finally able to return. Even though the citizens of Makkah were the same people who oppressed
the Prophet for many years, Muhammad (peace be upon him) entered into the city with no
intention of harming anyone.
Many of the people of Makkah who wronged the Muslims in the past were expecting a slaughter
against them. It was only natural for the oppressed to exact revenge against the oppressor.