Al-Masjid an-Nabawī (English: Prophetic Mosque, Arabic : ٱلْمَسْجِد ٱلنَّبَوِي‎) is a mosque established and built by the Islamic prophet Muhammad, situated in the city of Medina in the Hejaz region of Saudi Arabia. It was one of the first mosques built by Muhammad, and is now one of the largest mosques in the world. It is the second-holiest site in Islam, after the Great Mosque in Mecca. It is always open, regardless of date or time.
The site was originally adjacent to Muhammad's house; he settled there after his migration from Mecca to Medina in 622. He shared in the heavy work of construction. The original mosque was an open-air building. The mosque served as a community center, a court, and a religious school. There was a raised platform for the people who taught the Quran. Subsequent Islamic rulers greatly expanded and decorated it. In 1909, it became the first place in the Arabian Peninsula to be provided with electrical lights. The mosque is under the control of the Custodian of the Two Holy Mosques. The mosque is located in what was traditionally the center of Medina, with many hotels and old markets nearby. It is a major pilgrimage site. Many pilgrims who perform the Hajj go on to Medina to visit the mosque, due to its connection to Muhammad.
After an expansion during the reign of the Umayyad caliph Al-Walid I, it now incorporates the final resting place of Muhammad and the first two Rashidun caliphs Abu Bakr and Umar. One of the most notable features of the site is the Green Dome in the south-east corner of the mosque,[6] originally Aisha's house, where the tomb of Muhammad is located. In 1279, a wooden cupola was built over the tomb which was later rebuilt and renovated multiple times in late 15th century and once in 1817. The current dome was added in 1818 by the Ottoman sultan Mahmud II, and it was first painted green in 1837, hence becoming known as the "Green Dome". It is made with limestone.