History
After the Hijrah, the Prophet ﷺ stayed briefly at Quba and then rode into Madinah. His camel knelt at a yard used for drying dates, owned by two orphan boys, Sahl and Suhail. They offered it as a gift, and a mosque was built there. The Prophet ﷺ carried mud bricks himself alongside the Muhajirin and Ansar. Palm trunks were set up along the qiblah side and the side walls were built of stone.[1],[2]
The first mosque was a simple courtyard next to the rooms of the Prophet's family, with a roofed shelter on palm-trunk pillars along the qiblah wall. A minbar was added around 628 CE. Later caliphs enlarged the building, including Umar ibn al-Khattab and Uthman ibn Affan. In 706 CE the Umayyad caliph al-Walid I rebuilt it on a larger plan, and from then on the mosque enclosed the Prophet's grave.[7],[8]
The largest expansions came in the Saudi period. King Fahd's expansion brought the mosque to about 235,000 m². A further expansion began under King Abdullah in 2012; its first phase raised capacity to about 800,000 worshippers, and King Salman ordered the work to be completed. The green dome over the grave was first built in 1279 CE and was painted green from 1837.[8]
Why it matters
This is one of the three holiest places in Islam. The Prophet ﷺ said that one prayer in his mosque is better than a thousand prayers in any other mosque, except Masjidil Haram. He also said that the area between his house and his minbar is one of the gardens of Paradise, which is why this space, the Raudhah, is so sought after by pilgrims.[3],[4],[5],[7]
The Prophet ﷺ was buried in the house of his wife Aisha, next to the mosque. Abu Bakr was later buried beside him. When Umar was dying, he sent his son to ask Aisha's permission to be buried with his two companions; she said she had wanted the place for herself but gave it to him. The three graves now lie under the green dome.[6],[8]
Visiting today
Entry to the Raudhah needs a permit booked through the Nusuk app. As reported in December 2025, a permit can be booked once every 365 days, or through the Instant Track option when you are physically near the mosque. The entrance for Raudhah visits is through the southern courtyards, facing Makkah Gate 37. Men and women have separate time slots, which change, so check the times in Nusuk before you go.[9]
When greeting the Prophet ﷺ at his grave, many scholars caution against touching or wiping the walls and grilles to seek blessing, describing it as an innovation, and teach that blessing comes from following what Allah and His Messenger prescribed. If you are unsure what is appropriate, ask your mutawwif or a scholar you trust.[10]