), "the city"), also transliterated as Madīnah, is a city and administrative headquarters of the Al-Madinah Region of Saudi Arabia.
Medina was Muhammad's destination of his Hijrah (migration) from Mecca, and became the capital of a rapidly increasing Muslim Empire, under Muhammad's leadership.
It served as the power base of Islam in its first century where the early Muslim community developed.
In 892, the place was cleared up, the graves located and a fine mosque built, which was destroyed by fire in 1257 CE and almost immediately rebuilt.
It was restored by Qaitbay, the Egyptian ruler, in 1487.
Masjid al-Qiblatain is another mosque also historically important to Muslims.
It is where the command was sent to Muhammad to change the direction of prayer (qibla) from Jerusalem to Mecca according to a Hadith.
Hundreds of thousands of Muslims come to Medina annually while performing pilgrimage Hajj.
Al-Baqi' is a significant cemetery in Medina where several family members of Muhammad, caliphs and scholars are buried.
An immense plain extends to the south; in every direction the view is bounded by hills and mountains.
The historic city formed an oval, surrounded by a strong wall, 30 to 40 feet (9.1 to 12.2 m) high, dating from the 12th century CE, and was flanked with towers, while on a rock, stood a castle.
Like Mecca, the city of Medina only permits Muslims to enter, although the haram (area closed to non-Muslims) of Medina is much smaller than that of Mecca, with the result that many facilities on the outskirts of Medina are open to non-Muslims, whereas in Mecca the area closed to non-Muslims extends well beyond the limits of the built-up area.