HALL OF MYRIAD PATHSVẠN ĐẠO ĐƯỜNGTiếng ViệtVIMaster Ưng Khiêm's site
HALL OF MYRIAD PATHS

Arba'a Rukun Mosque, Mogadishu

Masjid Arba'a Rukun, Masaajidka Arba'a Rukun, Mosque of the Four Pillars in Mogadishu

One of the three oldest surviving medieval mosques in Mogadishu and along the East African coast, built of fossilized coral stone in 667 AH (1268 to 1269 CE) and celebrated for its thirteenth-century Arabic mihrab inscription honoring the scholar Khosrow ibn Muhammad al-Shirazi.

Epigraphic completion date
667 AH (1268 to 1269 CE)
completed in the exact same Hijri year as the nearby Fakhr al-Din Mosque in Hamarweyne
Meaning of the name
Arba'a Rukun (The Four Pillars)
honors the four Rightly Guided Caliphs (Rashidun): Abu Bakr, Umar, Uthman, and Ali
Patron named on the Mihrab
Khosrow ibn Muhammad al-Shirazi
thirteenth-century Persian-born scholar and merchant from Shiraz settled in Mogadishu
Architectural tradition
Benadir & Swahili Coral-Rag Style
thick coral-limestone walls, white shell-lime plaster, mangrove timber roof, and cylindrical minaret
Archaeological treasure
Thirteenth-Century Inscribed Mihrab
a recessed pointed-arch prayer niche preserving a dated medieval Arabic slab inscription
Historical setting
Shangani and Hamarweyne Border
standing witness to the golden age of the Sultanate of Mogadishu visited by Ibn Battuta in 1331

Situated along the historic boundary between the two oldest coastal quarters of Mogadishu, Hamarweyne (Xamar Weyn) and Shangani, just a few hundred meters inland from the Indian Ocean surf and the ancient harbor roadstead, a venerable whitewashed coral-stone sanctuary has stood for more than seven and a half centuries. Behind its thick lime-plastered walls, sturdy interior piers, and compact cylindrical minaret lies one of the most important medieval monuments of the Horn of Africa: the Arba'a Rukun Mosque (known in Arabic as Masjid Arba'a Rukun and in Somali as Masaajidka Arba'a Rukun, meaning the Mosque of the Four Pillars).

Within the long history of Islam along the Somali littoral (which began in the seventh century on the Gulf of Aden at Masjid al-Qiblatayn, Zeila), the thirteenth century under the Sultanate of Mogadishu marked a golden age of maritime trade and monumental coral-stone architecture linking East Africa with Arabia, the Persian Gulf, and India. Together with the Jama'a Mosque of Hamarweyne (1238) and its exact contemporary, the Fakhr al-Din Mosque (1269), the Arba'a Rukun Mosque was completed in 667 of the Hijri calendar (1268 to 1269 CE), standing today as a living link to medieval Mogadishu side by side with the modern Mosque of Islamic Solidarity, Mogadishu.

Arba'a Rukun Mosque, Mogadishu
Arba'a Rukun Mosque, Mogadishu. Photo: Drew Binsky, licence CC BY-SA 4.0, source Wikimedia Commons.

IThe Symbolism of the Four Pillars (Arba'a Rukun), the Four Rightly Guided Caliphs, and the Inscription of Khosrow Al-Shirazi

The Arba'a Rukun Mosque is dedicated to the worship of Almighty Allah within the Sunni Islamic tradition of the Shafi'i school. Its Arabic name, Arba'a Rukun (from Arba'a, meaning Four, and Rukun or Arkan, meaning Pillars or Cornerstones), carries both an architectural and a theological meaning. Architecturally, it refers to the four massive central coral-stone pillars that historically supported the flat timber-beam roof of the medieval prayer hall. Theologically, in the oral and scholarly tradition of Mogadishu, the Four Pillars honor the Four Rightly Guided Caliphs (Al-Khulafa al-Rashidun) who led the Muslim community after the Prophet Muhammad.

By dedicating the sanctuary to the memory of Abu Bakr al-Siddiq, Umar ibn al-Khattab, Uthman ibn Affan, and Ali ibn Abi Talib, the thirteenth-century community of Mogadishu affirmed its commitment to Sunni orthodoxy and the virtues of truthfulness, justice, generosity, and spiritual knowledge represented by the four Rashidun Caliphs.

According to the tradition

The supreme historical and liturgical treasure inside the Arba'a Rukun Mosque is its thirteenth-century Mihrab (the prayer niche set into the northern Qibla wall pointing toward Mecca) and the inscribed stone tablet set above its arch. In the classical Islamic architecture of the Benadir and Swahili coasts, exterior mosque walls were intentionally kept plain and unadorned in keeping with ascetic humility, while artistic mastery was concentrated upon the Mihrab as the focal threshold of prayer.

Carved in elegant medieval Arabic script (Naskh), the epigraphic slab above the Mihrab of Arba'a Rukun records that the mosque was completed in the year 667 AH (corresponding to 1268 to 1269 CE) and invokes divine mercy upon its late builder and patron, Khosrow ibn Muhammad (or Mahmud) al-Shirazi. Preserved in situ for more than 750 years, this inscription exemplifies the Islamic institution of Waqf (charitable endowment), whereby scholars and merchants dedicated their wealth to building houses of prayer as an enduring spiritual charity (Sadaqah Jariyah).

According to the historical record

The name Khosrow ibn Muhammad al-Shirazi inscribed on the Arba'a Rukun Mihrab provides rare documentary evidence of the cosmopolitan ties connecting thirteenth-century Mogadishu with the Persian Gulf and the city of Shiraz in Iran. The nisba al-Shirazi indicates a scholar or merchant of Persian origin from the province of Fars who had settled permanently in the thriving Somali port city of Mogadishu, participating in the same Indian Ocean cultural network that left Shirazi inscriptions at Kilwa Kisiwani, Zanzibar, and the Comoro Islands.

Historians and archaeologists of East Africa (including Enrico Cerulli and Neville Chittick) have long noted a remarkable historical synchronicity: the date 667 AH (1268 to 1269 CE) carved on the Mihrab of the Arba'a Rukun Mosque is the exact same Hijri year inscribed on the Mihrab of the Fakhr al-Din Mosque built by Mogadishu's first Sultan, Abu Bakr Fakhr al-Din, just a few streets away. The simultaneous completion of two major stone mosques in 1268 to 1269 demonstrates that thirteenth-century Mogadishu was experiencing an extraordinary urban and religious boom, setting the stage for the prosperous sultanate visited and praised six decades later by the Moroccan traveler Ibn Battuta in 1331.

A common misunderstanding

A common misunderstanding among casual readers encountering the name Khosrow ibn Muhammad al-Shirazi is the assumption that medieval Mogadishu was a Persian colony or that the Arba'a Rukun Mosque was built as an Iranian brick-dome structure. Archaeological and historical scholarship confirms that medieval Mogadishu was an indigenous Somali city-state and sultanate whose rulers, elders, and majority population were Somalis, while its international harbor welcomed Arab (especially Yemeni and Hadhrami), Persian, and Indian merchants and scholars who integrated into the local Muslim society.

Architecturally, the Arba'a Rukun Mosque is built entirely in the indigenous Benadir and Swahili coastal coral-stone idiom rather than Iranian brick vaulting: its walls are constructed of fossilized marine coral ragstone bound with shell-lime mortar, roofed historically with mangrove timber rafters and crowned by a cylindrical coastal minaret.

IIOver Seven and a Half Centuries from 667 AH (1268 to 1269 CE) and Ibn Battuta's 1331 Visit to Modern Preservation

From the height of the medieval Sultanate of Mogadishu through the Ajuran Empire, the Hiraab Imamate, the Italian colonial era, and the trials of the late twentieth-century civil war, the Arba'a Rukun Mosque has remained an active neighborhood sanctuary for more than 750 years.

  • 10th to Early 13th CenturyRise of Mogadishu (Xamar) as the premier Islamic emporium of the Benadir coast
    The coastal quarters of Hamarweyne and Shangani flourish as centers of maritime trade in gold, ivory, frankincense, and woven textiles across the Indian Ocean.
  • 667 AH (1268 to 1269 CE)Completion of the Arba'a Rukun Mosque and installation of the Mihrab inscription
    The coral-stone mosque is completed in 667 AH with an Arabic epigraphic tablet over the Mihrab honoring Khosrow ibn Muhammad al-Shirazi, in the same year as the Fakhr al-Din Mosque.
  • 1331Moroccan traveler Ibn Battuta visits Mogadishu and records its mosque life
    Arriving by sea in 1331, Ibn Battuta describes the scholarly hospitality, royal Friday processions of Sultan Abu Bakr ibn Shaikh Umar, and vibrant religious life of Mogadishu's mosques.
  • 15th to 17th CenturiesStewardship under the Muzaffar Dynasty and the Ajuran Sultanate
    The Arba'a Rukun Mosque continues as a center of Shafi'i legal study and daily prayer while Mogadishu successfully resists sixteenth-century Portuguese naval incursions.
  • 19th to Early 20th CenturyEpigraphic documentation by Orientalist scholars and structural maintenance
    Scholars including Enrico Cerulli transcribe and publish the 667 AH Mihrab inscription of Arba'a Rukun, establishing its importance in East African Islamic archaeology.
  • 1991 to 2010Survival through the Somali civil war under the protection of local elders
    Despite fighting in central Mogadishu that reduced the nearby cathedral to ruins, local residents safeguard the core structure and thirteenth-century Mihrab of Arba'a Rukun.
  • 2010s to PresentConservation limewashing and continuation of daily congregational prayers
    Restored and freshly whitewashed by the local community, the mosque continues to host the five daily prayers for residents of Hamarweyne and Shangani.
According to the historical record

Thirteenth- and fourteenth-century Mogadishu in the Rihla of Ibn Battuta. The vivid world in which the Arba'a Rukun Mosque stood during its first century is brought to life in the famous travelogue (Rihla) of the Moroccan jurist Ibn Battuta, who visited Mogadishu in 1331, roughly sixty-two years after the completion of the Arba'a Rukun and Fakhr al-Din mosques.

Ibn Battuta marveled at Mogadishu as an exceedingly large city famous for its fine woven fabrics exported to Egypt and for the extraordinary honor accorded to visiting Islamic scholars. Because Ibn Battuta was a trained jurist rather than a merchant, he was lodged as a guest of the Sultan and attended the Friday prayer, where Sultan Abu Bakr walked beneath a silk canopy topped with golden birds to pray alongside the chief Qadi, viziers, and jurists. The thick coral walls and thirteenth-century Mihrab of the Arba'a Rukun Mosque belong directly to that golden age of Somali urban civilization.

IIIThe 1268 Inscribed Mihrab Niche, the Four Central Coral Pillars, the Mangrove-Timber Roof, and the Cylindrical Minaret

The Arba'a Rukun Mosque embodies the compact, climate-adapted craftsmanship of medieval East African coral-stone mosque architecture: massive load-bearing walls plastered in dazzling white lime, an intimate hypostyle prayer hall anchored by four principal piers, and refined calligraphic carving focused on the northern Qibla wall.

The Thirteenth-Century Mihrab and Epigraphic Slab of 667 AH (1268 to 1269 CE)

Set into the center of the northern Qibla wall is the historic Mihrab niche, framed by a rectangular molding enclosing a recessed, multi-order pointed arch characteristic of medieval Indian Ocean mosques. Embedded above the arch is the celebrated carved stone inscription in medieval Arabic Naskh script recording the date 667 AH and the name of Khosrow ibn Muhammad al-Shirazi, flanked historically by recessed sockets that held glazed ceramic bowls.

The Four Central Coral-Stone Pillars (Arba'a Rukun) and Prayer Hall

The nearly square main prayer hall (Haram) takes its name from the four stout interior pillars built of dressed coral stone and coated in smooth white lime plaster. Supporting the roof beams and interior arcades, these four columns divide the hall into intimate bays while keeping the interior cool during the equatorial midday heat.

Marine Coral-Rag Masonry (Madrepore) and Seashell Lime Mortar

Like the neighboring medieval monuments of Hamarweyne, the exterior walls of the Arba'a Rukun Mosque measure 60 to 80 centimeters in thickness and are constructed of fossilized coral ragstone quarried along the Benadir reef, bound with mortar burned from coral lime and seashells. The breathable white limewash protects the stone from salt air while reflecting intense solar radiation.

Traditional Mangrove-Pole Flat Roof Construction

In accordance with medieval Benadir and Swahili building science, the flat roof of the mosque was engineered using closely spaced rafters of dense mangrove timber (whose natural tannins resist termites and rot in humid coastal air), topped by a thick insulating layer of coral aggregate and lime plaster.

The Compact Cylindrical Benadir Minaret

Rising beside the entrance court is a stout, whitewashed cylindrical minaret tapering gently toward its summit, a distinctive regional form shared with the oldest mosques of Mogadishu (such as the Hamarweyne Jama'a Mosque and the Abdulaziz Tower). An internal spiral stone stair leads to the top openings from which the call to prayer has echoed for centuries.

The Courtyard Ablution Basin (Wudu) and Historic Street Portals

Adjoining the prayer hall is a small enclosed courtyard containing water basins for ritual ablutions (Wudu) prior to prayer. Pointed-arch doorways open from the compound directly onto the narrow, shaded coral-stone lanes linking the Shangani and Hamarweyne quarters.

Principal architectural and epigraphic features of the Arba'a Rukun Mosque, Mogadishu. Source: Somali National Antiquities records and ArchNet Islamic Architecture Database (MIT and Aga Khan Trust for Culture)..
Architectural Element or ArtifactDate and MaterialTechnical Features and Historical Value
Mihrab Niche and Arabic Epigraphic Tablet667 AH (1268 to 1269 CE), carved stone and coral plasterRecessed pointed-arch prayer niche preserving the dated thirteenth-century inscription of Khosrow al-Shirazi
The Four Interior Pillars (Arba'a Rukun)13th century (coral stone and white lime plaster)Four structural piers supporting the prayer hall roof and symbolizing the four Rashidun Caliphs
Coral-Rag Exterior Walls and Flat Roof13th century with periodic traditional restorationsThick thermal-mass coral masonry and mangrove-beam roof adapted to the Indian Ocean coast
Cylindrical Coastal MinaretMedieval Benadir architectural traditionWhitewashed round tower with interior spiral stair serving the historic port quarters
Entrance Court and Ablution Area (Wudu)Medieval core updated in the 20th and 21st centuriesProvides ritual washing facilities for the five daily prayers of local residents and merchants

IVThe Lie of the Land and the Facing

It should be stated clearly that Khosrow ibn Muhammad al-Shirazi and the thirteenth-century builders of the Arba'a Rukun Mosque did not employ East Asian geomancy (feng shui) in siting or designing the sanctuary. The mosque was built within the commercial and residential heart of medieval Mogadishu and aligned strictly with canonical Islamic Qibla orientation. The observations below offer a comparative landform reading through the traditional framework of the Hall of Myriad Paths library.

Terrain and orientation

Viewed within the urban topography of historic Mogadishu at coordinates 2.0353 degrees north, 45.3397 degrees east, the Arba'a Rukun Mosque sits at the strategic hinge between the two ancient founding quarters of the city: Hamarweyne to the southwest and Shangani to the northeast. Resting on the elevated fossilized coral-reef terrace a few hundred meters inland from the Indian Ocean, the sanctuary enjoys firm bedrock foundations safe from coastal erosion.

In terms of wind channels and axial facing, the dense network of narrow, high-walled coral lanes surrounding the mosque acts as a natural system of shaded wind corridors that temper the gusty ocean monsoons while funneling cool sea air into the mosque courtyard, keeping the four-pillared prayer hall quiet and serene. Internally, the 1268 Qibla wall and Mihrab are aligned toward the north-northwest (approximately 344 degrees), sharing the exact sacred meridian toward Mecca as the neighboring Fakhr al-Din Mosque and the modern Mosque of Islamic Solidarity.

VThe Five Daily Prayers, Friday Gatherings in the Old City, and Ramadan Recitations Before the 1268 Mihrab

More than an archaeological monument, the Arba'a Rukun Mosque remains a living neighborhood sanctuary observing the five daily prayers and the annual cycle of the Islamic Hijri lunar calendar.

Daily liturgical life and annual Islamic observances at the Arba'a Rukun Mosque, Mogadishu. Source: Local Mosque Committee of the Historic Hamarweyne and Shangani Quarters, Mogadishu..
Time of YearCalendar SystemLiturgical Rite or FestivalDevotional Practice at the Arba'a Rukun Mosque
Five Daily Prayer Times (Fajr, Dhuhr, Asr, Maghrib, Isha)DailyCanonical Daily Congregational PrayersElders, fishermen, and shopkeepers of the Hamarweyne and Shangani quarters gather beneath the four historic pillars for daily prayer in an unbroken 750-year tradition.
Every Friday at MiddayWeeklyFriday Congregational Prayer (Salat al-Jumu'ah)Worshippers fill the medieval hall and courtyard to hear the Friday Khutbah sermon in Somali and Arabic.
Ninth Month of the Islamic Calendar (Ramadan)Islamic Hijri Lunar CalendarQur'an Recitation Circles and Nightly Tarawih PrayersThroughout Ramadan, the cool coral-stone interior hosts afternoon study circles reciting the thirty parts (Juz) of the Qur'an and evening Tarawih prayers.
12th of Rabi' al-AwwalIslamic Hijri Lunar CalendarMawlid al-Nabi (Commemoration of the Birth of the Prophet Muhammad)In keeping with ancient Benadir coastal custom, traditional Arabic and Somali devotional poems (Qasidah) honoring the Prophet are recited in the historic mosques of the old city.
1st of Shawwal and 10th of Dhu al-HijjahIslamic Hijri Lunar CalendarEid al-Fitr and Eid al-Adha CelebrationsThe mosque walls receive a fresh coat of white limewash as local families gather in festive attire for morning prayers and charitable almsgiving.

Seven hundred and fifty years of unbroken prayer by the Indian Ocean. What makes the Arba'a Rukun Mosque so moving to historians and believers alike is its living continuity across more than seven and a half centuries. When a worshipper prostrates today before the Mihrab inscribed in 667 AH (1268 to 1269 CE), they stand on the exact spot where thirteenth-century mariners, scholars of the Sultanate of Mogadishu, and generations of coastal artisans offered their prayers, preserving the spiritual heart of historic Xamar.

VILocation And How To Get There

Address
Border of Shangani and Hamarweyne Historic Quarters along the Indian Ocean, Mogadishu, Banaadir Region, Federal Republic of Somalia
Getting there
The Arba'a Rukun Mosque is located at the border of the historic Shangani and Hamarweyne (Xamar Weyn) coastal quarters in central Mogadishu, within 300 to 400 meters of the Fakhr al-Din Mosque and the Mogadishu Cathedral Ruins near the Old Port. From Aden Adde International Airport (MGQ), visitors travel by car with local escort along the coastal road or Maka al-Mukarama Road toward the Old Port and Hamarweyne district (approximately 4.5 kilometers, or 15 minutes by car), then walk through the historic coral-stone lanes to the mosque entrance.
Coordinates
2.0353, 45.3397
When you arrive

The Arba'a Rukun Mosque is both a protected thirteenth-century archaeological monument and an active neighborhood mosque serving the residents of old Mogadishu. International visitors must be accompanied by an accredited local guide and security escort, and should seek permission from the mosque elders before entering the courtyard or photographing the historic Mihrab. Visitors must remove their shoes at the threshold, dress in strict accordance with Somali Islamic modesty (long trousers and sleeved shirts for men; full-length loose attire and hijab headscarf for women), maintain quiet during prayer times, and refrain from touching the thirteenth-century carved stone inscription.

Nearby places in the library

VIIContribute To This Page

Contribute photos, information or video for Arba'a Rukun Mosque, Mogadishu

Master Ưng Khiêm welcomes the community to enrich this page: a photograph taken on site, a historical detail not yet noted, or a short video. Every contribution is read and answered.

Once published, your name is credited right here on this place's page. Photos and videos must be your own or shared with permission.

No community contribution yet. You could be the first.

?Quick Questions

What does the name Arba'a Rukun mean and why was it given to the mosque?

In Arabic, Arba'a Rukun means The Four Pillars. The name refers both to the four massive coral-stone pillars supporting the ceiling of the medieval prayer hall and to the Four Rightly Guided Caliphs (Rashidun) of Sunni Islam: Abu Bakr, Umar, Uthman, and Ali.

When was the Arba'a Rukun Mosque built and how is its date known?

The mosque was completed in the Islamic year 667 AH, corresponding to 1268 to 1269 CE (the exact same year as the nearby Fakhr al-Din Mosque). This date is preserved on a carved medieval Arabic stone inscription set directly into the thirteenth-century Mihrab niche inside the prayer hall.

Who was Khosrow ibn Muhammad al-Shirazi named on the mosque's Mihrab inscription?

The 667 AH (1268 to 1269 CE) inscription over the Mihrab invokes God's mercy upon the mosque's builder, Khosrow ibn Muhammad (or Mahmud) al-Shirazi, a thirteenth-century scholar and merchant originating from Shiraz in Persia who had settled in the prosperous Indian Ocean port of Mogadishu.

What traditional materials were used to build the Arba'a Rukun Mosque?

The mosque is a classic work of medieval Benadir and Swahili coastal architecture: its thick walls and four central piers were constructed of fossilized marine coral ragstone bound with seashell-and-coral lime mortar, topped historically by a flat roof of termite-resistant mangrove timber beams and accompanied by a whitewashed cylindrical minaret.

Which famous fourteenth-century traveler visited Mogadishu during the heyday of the Arba'a Rukun Mosque?

In 1331, roughly sixty-two years after the completion of the Arba'a Rukun and Fakhr al-Din mosques, the Moroccan scholar and explorer Ibn Battuta visited Mogadishu and wrote a celebrated account of the Sultanate's wealth, scholarship, and Friday mosque ceremonies.

Is the thirteenth-century Arba'a Rukun Mosque still used for worship today?

Yes. Despite being more than 750 years old and having survived the decades of conflict in central Mogadishu, the Arba'a Rukun Mosque remains an active neighborhood sanctuary where residents of Hamarweyne and Shangani gather daily for the five canonical prayers.

›Read Next