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.

Last checked 2026-11-19 5 sources Reading time: 3 min
Timeline of key dates for The Shafi'i school in Somalia
Key dates for The Shafi'i school in Somalia (Expanding Access to Justice Program, Shafi'i school, Wikipedia).

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

  1. Library of Congress, Somalia: A Country Study, 1992 · countrystudies.us
  2. Expanding Access to Justice Program, The Shari'ah in Somalia, 2020 · cnxus.org
  3. Shafi'i school, Wikipedia · en.wikipedia.org
  4. Ibn Battuta, A través del Islam, trans. Fanjul and Arbós, 2017 · archive.org
  5. Library of Congress, 1992 · countrystudies.us

Where this matters

Same era

Keep reading