The Prophet's Mosque (Arabic: ٱلْمَسْجِد ٱلنَّبَوِي, romanized: al-Masjid al-Nabawī, lit. 'Mosque of the Prophet') is the second mosque built by the Islamic prophet Muhammad in Medina, after the Quba Mosque, as well as the second largest mosque and holiest site in Islam, after the Masjid al-Haram in Mecca, in the Saudi region of the Hejaz.
The mosque is located at the heart of Medina, and is a major site of pilgrimage that falls under the purview of the Custodian of the Two Holy Mosques (a royal style used by the King of Saudi Arabia.) Muhammad himself was involved in the construction of the mosque. At the time, the mosque's land belonged to two young orphans, Sahl and Suhayl, and when they learned that Muhammad wished to acquire their land to build a mosque, they went to Muhammad and offered the land to him as a gift; Muhammad insisted on paying a price for the land because they were orphaned children.