Faith
The Shafi'i school of law in Somalia: the madhhab most Somalis follow
In simple words
The Shafi'i school is the school of Islamic law that most Somalis have traditionally followed. A 2020 report for the US-funded Expanding Access to Justice programme says it was first brought to Somalia by Yemeni scholars, and that Salafi teaching has since drawn some scholars towards the Hanbali school. Family courts still mostly apply Shafi'i rules, alongside xeer.
In simple words
The Shafi'i school is one of four main ways Sunni Muslims study Islamic law (Library of Congress, Somalia: A Country Study, 1992). Somali Muslims have followed it for a long time (Expanding Access to Justice Program, The Shari'ah in Somalia, 2020). Wikipedia says it is the main school in Djibouti, Ethiopia, Eritrea and Somalia (Shafi'i school, Wikipedia).
How the school works
The school treats the Qur'an and the Sunnah as the primary sources of law, and consensus (ijma') and analogy (qiyas) as secondary sources (Expanding Access to Justice Program, 2020). The same report says that in Shafi'i law "consensus" strictly means the whole Muslim community, although scholars increasingly limit it to the religiously learned. Al-Shafi'i's own groundwork text is the Risala, written in Egypt (Shafi'i school, Wikipedia).
How it reached the Somalis
The 2020 report says the school was first introduced to Somalia by Yemeni scholars. It adds that Hanafi practice was dominant before the 1300s, until travelling Yemeni scholars brought Shafi'i teaching (Expanding Access to Justice Program, 2020). The traveller Ibn Battuta, who reached Zeila in 1331, wrote that the Somalis ("Barbara") followed the Shafi'i school (Ibn Battuta, A través del Islam, trans. Fanjul and Arbós, 2017). See Ibn Battuta in Mogadishu and Zeila and how Islam reached the Somalis. The Sufi orders that spread from the 1400s, such as the Qadiriyya, worked inside the school (Library of Congress, 1992). See the Sufi orders in Somalia.
Study abroad
Somali Islamic schools do not award internationally recognised degrees in sharia, so students go abroad. Before the civil war, Sudan, Egypt and Yemen were popular, and the report's respondents linked this to the earlier prevalence of the Shafi'i school, since "most renown Shafi'i ulama teach in these countries" (Expanding Access to Justice Program, 2020). Today more students choose Saudi Arabia, where, the report says, interviewees described the institutions as Salafi and the Hanbali school as dominant. For local teaching see Qur'an schools and religious learning.
In the courts
The report says sharia is applied most widely by statutory family courts, "by and large following the Shafi'i madhab", and that judges often apply xeer alongside it, so a judge's understanding may depart from Shafi'i rules. In Somaliland it says ulama "principally follow the Shafi'i madhab", Sufi ulama there "unanimously" do, and qaadis (sharia judges) are evaluated by the Ministry of Religious Affairs and licensed by the Ministry of Justice. Only civil cases go to qaadis, and their decisions are not binding unless the parties agree (Expanding Access to Justice Program, 2020). See the 1975 family law.
Change since the 1980s
The report says Salafi influence grew in the 1980s as Somali students and workers went to Saudi Arabia, and that interviewees believed the Hanbali school was gaining ground, with one saying that under Siad Barre "almost all Ulama were Shafi'i". Key informants estimated that Salafism made up 50 percent of teaching in Mogadishu, 40 percent in South West State and 60 percent in Puntland (Expanding Access to Justice Program, 2020). See Islamic movements in Somalia since 1950.
Data and method
The dates and figures on this page come from the sources listed below, mainly Expanding Access to Justice Program, 2020; Shafi'i school, Wikipedia; Ibn Battuta, A través del Islam, trans. Fanjul and Arbós, 2017. Each fact carries the link to the source that gives it, and the year of a source is shown in its name where one is given. The sources are as they stood on 17 November 2026, when this page was written.
Sources
Sources
- Library of Congress, Somalia: A Country Study, 1992 · countrystudies.us
- Expanding Access to Justice Program, The Shari'ah in Somalia, 2020 · cnxus.org
- Shafi'i school, Wikipedia · en.wikipedia.org
- Ibn Battuta, A través del Islam, trans. Fanjul and Arbós, 2017 · archive.org
- Library of Congress, 1992 · countrystudies.us
Where this matters
Same era
- Australia18,401 people of Somali ancestry and 8,101 born in Somalia lived in Australia at the 2021 Census, more than half in Victoria. History, work, issues.
- Birmingham (Somali diaspora)About 17,000 to 21,600 Somalis live in Birmingham (Census 2021), mostly in Nechells, Newtown, Small Heath and Alum Rock. History, work, health and ties home.
- Bristol (Somali diaspora)9,167 people in Bristol identified as Somali or Somalilander in Census 2021, the city's largest minority group. Where they live, work, housing, leaders and ties home.
- Calgary, Alberta, Canada2,845 people of Somali origin lived in Calgary at the 2021 Census, plus 890 in Brooks. How they came, who serves them and what they face.
- Denmark (Somali diaspora)21,885 people of Somali origin lived in Denmark in 2026, half born there. Numbers, history, work, permit reviews, and ties home.
- DjiboutiAbout 13,900 refugees from Somalia live in Djibouti (Aug 2026): numbers since 1990, Ali Addeh, Holl-Holl, the 2017 refugee law, Arta 2000 and 2025 returns.
Keep reading
- Islam in Somalia: faith, the Sufi orders and religion in lawIslam in Somalia: Sunni and Shafi'i, how Islam arrived, the Sufi orders (Qadiriyya, Ahmadiyya, Salihiyya), great scholars, and what the constitution says.
- Why almost every Somali is Muslim: what the record showsWhy Somalia is over 99% Muslim: early Islam, lineages, Qur'an schools, Sufi orders, wars with Abyssinia, missions kept out, and the law today, with sources.
- How Islam reached the Somalis: the coast, the traders and the teachersHow Islam came to Somalia: the first hijra tradition, Zeila and the coast, traders, teachers like Aw Barkhadle, Somali scholars at al-Azhar, and the Qadiriyya.
- The Sufi orders in Somalia: Qadiriyya, Ahmadiyya and SalihiyyaSomalia's Sufi orders: Qadiriyya, Ahmadiyya and Salihiyya, their founders and sheikhs, the jamaaco farming villages, the Uways and Sayyid rivalry, and today.
- Saints, shrines and siyaaro: tomb visits in Somali IslamSomali saints and shrines: baraka, siyaaro tomb visits, Aw Barkhadle, Sheikh Isaaq at Maydh, Sheikh Sufi, Uways at Biyooley, and the dispute over tombs, sourced.
- Qur'an schools (dugsi) and religious learning in SomaliaSomali Qur'an schools (dugsi, malcaamad): how they work, the loox board, fees, numbers (50,000 schools, 4 million children), higher religious study, reforms.