The Prophet’s Mosque is the second-holiest site in Islam and the spiritual heart of the city of Madinah. Every year, millions of travellers — Muslim and non-Muslim alike — stand beneath its courtyards and minarets, many of them unsure of exactly what they are looking at or why it matters so much. This guide walks through where the Prophet’s Mosque came from, how it grew from a small courtyard into one of the largest mosques on earth, and what you should understand before you visit it yourself.
If you are planning a trip, this article pairs well with our complete guide to Medina in Saudi Arabia and our page on ziyarah sites in Madinah, which covers the Prophet’s Mosque alongside Quba, Uhud and the Qiblatain.
What Is the Prophet’s Mosque?
The Prophet’s Mosque — in Arabic, Al-Masjid an-Nabawi — is the mosque built by the Prophet Muhammad ﷺ himself after he migrated from Makkah to Madinah in 622 CE. It is not simply an old building; it is the site of his home, his pulpit, his grave, and the earliest Muslim community. Today it sits at the centre of Madinah, surrounded by hotels, markets and the wide marble plazas that fill with worshippers five times a day.
Ranked just below the Grand Mosque in Makkah in religious importance, the Prophet’s Mosque is one of only three mosques a Muslim is specifically encouraged to travel to for the sake of prayer, alongside Masjid al-Haram and Al-Aqsa. That single fact explains why so much of Madinah’s identity, economy and daily rhythm revolves around this one building.
The Origins of the Prophet’s Mosque
When the Prophet Muhammad ﷺ arrived in Madinah after the Hijrah, the land on which the mosque now stands belonged to two young orphans, Sahl and Suhayl. He insisted on purchasing it from them rather than accepting it as a gift, even though they were children. Construction began almost immediately, and the earliest version of the Prophet’s Mosque was strikingly humble: mud-brick walls, a courtyard of packed earth, and a roof of palm leaves and trunks supported by palm-trunk pillars.
There was no ornamentation, no dome, and no minaret in this first structure. The mosque functioned as far more than a place of prayer — it was a school, a courtroom, a shelter for travellers, and the administrative centre of the young Muslim community. Small rooms built along its eastern wall served as living quarters for the Prophet’s ﷺ household, and it is within one of these rooms that he was later buried.
How the Prophet’s Mosque Grew Through History
Early Expansions by the Rightly Guided Caliphs
As the Muslim population of Madinah grew, the original mosque quickly became too small. Caliph Umar ibn al-Khattab expanded it during his rule, and Caliph Uthman ibn Affan enlarged it again, this time introducing stone and teak in place of mud and palm trunks — the first real architectural upgrade the Prophet’s Mosque had seen.
The Umayyad and Ottoman Expansions
The most transformative early expansion came under the Umayyad Caliph Al-Walid I in the early 8th century. His engineers enclosed the room where the Prophet ﷺ was buried within the mosque itself for the first time, added the first minarets, and introduced the mihrab (prayer niche) as an architectural feature. Centuries later, under Mamluk and then Ottoman rule, further additions were made, including the distinctive dome above the Prophet’s ﷺ tomb, which was painted its now-iconic green in 1837 and has been known as the Green Dome ever since.
The Modern Saudi Expansions
The Prophet’s Mosque you see today is overwhelmingly a product of the 20th and 21st centuries. King Abdulaziz began the first major Saudi-era expansion in 1951. King Fahd’s expansion between 1985 and 1994 was even larger, adding vast new prayer halls, a network of retractable umbrellas, and multiple minarets, bringing capacity into the hundreds of thousands. A further expansion launched under King Salman continues to increase capacity toward roughly 1.6 million worshippers during peak seasons such as Ramadan and Hajj. From a single courtyard the size of a modest house, the Prophet’s Mosque has grown into a complex covering several hundred thousand square metres.
Inside the Prophet’s Mosque: What You’ll See
The Green Dome and the Prophet’s Tomb
The Green Dome marks the resting place of the Prophet Muhammad ﷺ, along with his two closest companions and successors, Abu Bakr and Umar. The chamber itself is not open for entry, but the golden lattice screen surrounding it is visible from the mosque’s northern courtyards, and it has become the single most recognisable image associated with the Prophet’s Mosque worldwide.
Riyadh al-Jannah (the Rawdah) — A Garden of Paradise
Between the Prophet’s ﷺ former pulpit and his tomb lies a stretch of floor known as Riyadh al-Jannah, or the Rawdah, distinguished by its green-and-white carpet against the red carpeting elsewhere in the mosque. According to a well-known hadith, this space is described as “a garden from the gardens of Paradise.” Because of its significance, entry to the Rawdah inside the Prophet’s Mosque is now managed through timed permits booked via the official Nusuk app, with separate visiting windows for men and women.
The Ten Minarets and Famous Gates
Ten tall minarets now rise from the corners and sides of the Prophet’s Mosque, and the complex is entered through numerous named gates, the most famous being Bab as-Salam (the Gate of Peace), traditionally used as an entry point by visitors heading toward the Rawdah. The mosque’s roof is fitted with over a hundred retractable umbrella canopies that open during the day to shade the outer courtyards and close at night, a modern engineering feature unique to this site and its counterpart in Makkah.
Why the Prophet’s Mosque Matters to Muslims
For Muslims, praying inside the Prophet’s Mosque carries a reward described in hadith as far greater than praying the same prayer elsewhere, with the sole exception of the Grand Mosque in Makkah. But its significance goes beyond ritual reward. This is the ground the earliest Muslim community walked on, the room where the Qur’an was recited to the Prophet ﷺ directly, and the resting place of the man Muslims regard as the final messenger of God. To understand the weight this single building carries, it helps to understand the man at its centre — you can read more in our companion article on who Rasulullah was and his life in Madinah.
Visiting the Prophet’s Mosque Today
The Prophet’s Mosque is open around the clock, every day of the year, and welcomes an extraordinary range of visitors — from residents of Madinah praying five times daily to pilgrims who have travelled for a single afternoon. Non-Muslim visitors are generally able to view the mosque’s exterior and courtyards, though entry into the prayer halls themselves is restricted to Muslims; our article on what is open to non-Muslim visitors in Madinah explains exactly what to expect.
Modest dress is expected of everyone in and around the Prophet’s Mosque. Women are asked to cover their hair, arms and legs, and men should avoid shorts or sleeveless tops. Photography is generally tolerated in the courtyards but discouraged inside the prayer halls, particularly near the Rawdah.
Planning Your Own Visit to the Prophet’s Mosque
A single visit to the Prophet’s Mosque can take as little as thirty minutes or stretch across an entire day, depending on how deeply you want to engage with the site — from a quick walk through the courtyards to a full ziyarah covering the Rawdah, the historic gates, and nearby sites such as Quba and Jannat al-Baqi. If you only have a short window in the city, our 48-hour Madinah ziyarah itinerary is built around exactly this challenge, and our page on Madinah covers the wider city around the mosque.
At Rihlah Saudi, our Madinah journeys are built around unhurried time at the Prophet’s Mosque rather than rushed group timetables — if you would like a trip planned around it, our journey planning page is the place to start.
Pingback: Who Is Rasulullah? The Prophet Muhammad xefxb7xba and Madinah
Pingback: Al Masjid An Nabawi, Medina, Saudi Arabia: Visitor Guide