Masjid al-Nabawi was built by Nabi Muhammad in 622 CE upon his arrival in Madinah. Originally a simple structure of palm trunks and mud bricks measuring 30x35 meters, it has been expanded by the caliphs, Umayyads, Abbasids, Ottomans, and Saudis to its current capacity of over one million worshippers.
When Nabi Muhammad (shallallahu alaihi wa sallam) arrived in Madinah during the Hijrah in 622 CE, one of his first acts was to build a masjid. He purchased a plot of land where his camel had stopped (an area previously used as a date-drying yard) and personally participated in the construction alongside his companions. The original masjid was a simple open-air structure measuring approximately 30 by 35 meters, with walls of sun-dried mud bricks, a roof of palm fronds and mud over palm trunk columns, and a qibla wall (initially facing Jerusalem, later changed to face Mekkah). Nabi's apartments, shared with his wives, were built along the eastern wall. This humble structure served as the center of the Muslim community — a masjid, a school, a court, a parliament, and a social welfare center.
The masjid was expanded during Nabi's lifetime as the Muslim community grew. After his death, Abu Bakr maintained the masjid as it was. Umar ibn al-Khattab expanded it in 638 CE, and Uthman ibn Affan further enlarged it in 650 CE, introducing carved stone columns and a teak ceiling. The Umayyad Caliph al-Walid ibn Abdul Malik (r. 705-715 CE) undertook the most significant early expansion, incorporating Nabi's burial chamber within the masjid structure, introducing marble columns, gold mosaics, and minarets, and roughly doubling the masjid's area. This expansion set the architectural template for centuries.
The Ottomans invested heavily in Nabi's Masjid over four centuries, adding the iconic green dome over Nabi's burial chamber (painted green in 1837, having originally been white), rebuilding after a fire in 1481, and renovating extensively. The most dramatic transformation came under Saudi rule. The First Saudi Expansion (1951-1955) and Second Saudi Expansion (1985-1992) vastly increased the masjid's capacity, introducing modern amenities including air conditioning, escalators, and the famous retractable umbrella canopies that shade the courtyard. The current masjid covers approximately 400,000 square meters and can accommodate over one million worshippers during peak periods. The iconic ten retractable domes and the 250 umbrella canopies are engineering marvels unique to this masjid.
Modern Masjid al-Nabawi is a breathtaking structure that seamlessly blends historical elements with contemporary engineering. The green dome, visible from throughout Madinah, marks the location of Nabi's burial chamber and the Rawdah. The masjid is open 24 hours and includes shalat halls on multiple levels, underground parking facilities, cooling systems that manage temperatures for hundreds of thousands of worshippers, and advanced crowd management infrastructure. Despite its enormous scale, the masjid retains an atmosphere of intimacy and devotion that jamaah haji consistently describe as unlike anywhere else. Nabi's promise echoes across the centuries: 'A shalat in my masjid is better than a thousand shalat elsewhere, except al-Masjidil Haram.'