SiratHub

Home / Schools of thought

Hanafi, Shafi'i and the four schools

A simple guide to what a madhab is, why there are different schools, and which one to follow.

What is a madhab?

A madhab (school of thought) is a method of understanding Islamic law, called fiqh. The Quran and the Sunnah give us the rules of worship. Great scholars studied them carefully and worked out the details, such as exactly how to pray, how to make wudu, or how to pay zakat. Their students wrote down and passed on these methods, and they became known as schools.

The four Sunni schools

Hanafi

Imam Abu Hanifa
Died 150 AH (767 CE), Kufa, Iraq

The most followed school. South Asia, Turkey, Central Asia, the Balkans and much of the Levant.

Maliki

Imam Malik ibn Anas
Died 179 AH (795 CE), Madinah

North and West Africa, and parts of the Gulf.

Shafi'i

Imam Muhammad ibn Idris al-Shafi'i
Died 204 AH (820 CE), Egypt

Kerala and the Konkan coast, Sri Lanka, Southeast Asia, Egypt, Yemen and East Africa.

Hanbali

Imam Ahmad ibn Hanbal
Died 241 AH (855 CE), Baghdad

Saudi Arabia and Qatar.

What do they agree on?

  • The five daily prayers and the number of fard rak'ahs in each.
  • The main parts of wudu and of the salah: the takbir, Al-Fatiha, ruku, sujud and the final sitting.
  • Fasting in Ramadan, zakat, Hajj, and the core beliefs of Islam.

Where do they differ?

In small details, for example where to place the hands in salah, whether to raise them before ruku, whether Ameen is said aloud, how Witr is prayed, or which things break wudu. These differences come from different, well-founded readings of the hadith, and the scholars respected each other's views.

Which one should I follow?

Most Muslims follow the school of their family, their local masjid, or the scholars they learn from. That keeps things simple and consistent. You do not need to study all four. If you are unsure, ask your local imam or a teacher you trust.

The How to pray guide on SiratHub covers all four schools: choose yours at the top of the page and the steps, words and rak'ahs change to match. This guide covers the Sunni schools.

Go to How to pray

What next?