Sunni, Shia and the four madhhabs: what's the difference?

Your neighbor in the prayer line holds his hands lower than you and says ameen out loud. Is he from a different sect? Almost never. Here is the difference between a madhhab and the Sunni and Shia split.

An old teacher with a white beard sits against a stone pillar in an old masjid with a large book open on a wooden stand, his students sitting around him on the carpet with books and notebooks, seen from behind in golden afternoon light

Sunni, Shia, Hanafi, Shafi'i. Many Muslims hear these words used the same way, as if they were all different sects.

Then you pray next to someone at the masjid. His hands are in a different place from yours. He says ameen out loud, and you say it quietly. Is he from a different sect?

Almost always, no. You are seeing a different madhhab, a school of law. That is a very different thing from the split between Sunni and Shia Muslims. This post explains both.

So you know our position: Sunnah Daily follows the Sunni way. We have tried to describe Shia Muslims the way they describe themselves, with no insults and no ranking.

Hanafi, Maliki, Shafi'i and Hanbali are four schools inside Sunni Islam. They differ on details. Sunni and Shia differ on bigger questions, starting with who should have led the Muslims after the Prophet ﷺ.

What is a madhhab?

In Arabic, madhhab means a path you take. In practice, it is a school of fiqh: a careful method for taking the rules of prayer, fasting, marriage, trade and the rest from the Quran and the Sunnah.

Most Muslims are not scholars. They cannot check every hadith and every chain of narrators by themselves. A madhhab gives them answers that great scholars worked out and checked again and again for more than a thousand years.

A madhhab is not a different belief. All four Sunni schools have the same creed, the same Quran and the same books of hadith.

Who started the four schools?

Hanafi: Abu Hanifa (died 767), a scholar of Kufa in Iraq. His is the oldest of the four.

Who was Abu Hanifa?

His name was al-Nu'man ibn Thabit. He was born in Kufa, in Iraq, around the year 699, and earned his living as a cloth merchant. People knew him as an honest trader who would not sell a faulty piece without pointing out the fault.

He studied with one teacher, Hammad, for about eighteen years. When he began teaching, he did not simply hand out answers. He put a question to his students, they argued it through together, sometimes for days, and only then was the answer written down.

He was known for long night prayers and for refusing power. The rulers of his time asked him more than once to become a judge, and he refused, because he feared he would be pushed to judge unfairly. He was jailed and beaten for it, and he died in Baghdad in 767.

His two great students, Abu Yusuf and Muhammad al-Shaybani, wrote his teaching down and spread it. Abu Yusuf became the chief judge of the Muslim world, and the Hanafi school grew from there.

Maliki: Malik ibn Anas (died 795), the great scholar of Madinah. His book, al-Muwatta, is one of the earliest books of hadith.

Who was Imam Malik?

Malik ibn Anas was born in Madinah around 711 and spent almost his whole life there, leaving only for Hajj. He taught in the Prophet's masjid, among the grandchildren of the companions.

He had deep respect for the city of the Prophet ﷺ. It is reported that he would not ride an animal inside Madinah, and that before teaching hadith he would make wudu, put on clean clothes and sit with calm.

He spent about forty years on his book al-Muwatta, choosing and checking every report. When the caliph wanted to make the whole empire follow the Muwatta, Malik said no: the companions had spread to many lands, and each land had learned from them.

He was not afraid to say "I do not know." Once a man traveled for months to ask him a list of questions, and Malik answered only a few. For the rest he said he did not know. He was also flogged for a ruling that angered the governor, and he did not take it back. He died in Madinah in 795.

Shafi'i: Muhammad ibn Idris al-Shafi'i (died 820). He studied with Malik, lived in Makkah, Baghdad and Egypt, and wrote the first book on how to take rules from the sources.

Who was Imam al-Shafi'i?

Muhammad ibn Idris al-Shafi'i was born in Gaza in 767, the year Abu Hanifa died. His father died when he was small, and his mother took him to Makkah, where they lived in poverty. He memorized the Quran by about seven.

As a young man he went to Madinah to study with Imam Malik, and stayed with him until Malik died. Later, in Baghdad, he studied the Hanafi way with Muhammad al-Shaybani. So he learned from both great schools before forming his own.

His book al-Risalah was the first to set out, step by step, how scholars should draw rulings from the Quran, the Sunnah, agreement and reasoning. Every school still uses that kind of method today.

In his last years he moved to Egypt, looked again at many of his own earlier views, and changed some of them. Scholars call these his old and new opinions. He died in Egypt in 820.

Hanbali: Ahmad ibn Hanbal (died 855), a scholar of Baghdad and a student of al-Shafi'i. He collected a huge book of hadith, the Musnad.

Who was Imam Ahmad?

Ahmad ibn Hanbal was born in Baghdad in 780. His father died when he was young, and he grew up with little money. He traveled for years, often on foot, to Makkah, Madinah, Yemen and Syria to collect hadith from the people who carried them.

He studied with al-Shafi'i, and al-Shafi'i said he left Baghdad without leaving behind anyone more learned or more careful than Ahmad. His great book, the Musnad, holds close to thirty thousand reports.

He is most remembered for the trial of his life. The caliphs of his time ordered scholars to say that the Quran was created, a belief they had taken up. Ahmad refused to say it. He was jailed, put in chains and flogged until he fainted, and still he would not change his words.

Later rulers ended the trial, and Ahmad went back to teaching. When he died in 855, a huge crowd of Baghdad came out for his funeral.

They were not rivals. Al-Shafi'i learned from Malik, and Ahmad learned from al-Shafi'i. One of Abu Hanifa's top students also studied with Malik.

Where is each one followed today?

Hanafi is the largest. It is followed in Turkey, Central Asia, Afghanistan, Pakistan, India, Bangladesh and the Balkans, and by many Muslims in the West whose families came from those places.

Maliki is followed across North and West Africa: Morocco, Algeria, Tunisia, Libya, Mauritania, Mali, Senegal, northern Nigeria and parts of Sudan.

Shafi'i is followed in much of Egypt, in Yemen, in Somalia and along the coast of East Africa, by most Kurds, in Kerala and Sri Lanka, and in Southeast Asia: Indonesia, Malaysia and Brunei.

Hanbali is the smallest. It is followed mostly in Saudi Arabia and Qatar.

This is only a rough map. Families move, and a masjid in London or Toronto may have people from all four.

So what do they actually differ on?

Details. Here are two you can see in almost any masjid.

Where the hands go in the prayer. Hanafi men usually place the right hand over the left below the navel, and Hanafi women on the chest. Shafi'is place them higher, above the navel. Hanbalis usually place them below the navel. Many Malikis let their hands hang down at their sides.

Saying ameen. After al-Fatiha in a prayer read out loud, Shafi'is and Hanbalis say ameen out loud. Hanafis and Malikis say it quietly.

Each view comes from hadith and from how the scholars understood them. Other differences are the same kind of thing: what breaks wudu, how to pray witr, which details of a marriage contract are a must.

Do the four schools accept each other?

Yes. A Hanafi can pray behind a Shafi'i imam, and a Maliki can pray behind a Hanbali. Their scholars have studied each other's books for centuries.

The Prophet ﷺ himself allowed this kind of difference. He once told his companions not to pray Asr until they reached a certain place. On the way, the time for Asr came. Some prayed on the road, because they understood that he only meant hurry. Others waited until they arrived, because they followed his exact words. When they told him, he did not blame either group.

He also said that when a judge works hard to find the right answer, he gets two rewards if he is right, and one reward if he is wrong.

So a madhhab is not a sect. The four madhhabs are four ways of following the same Sunnah.

Then what is the difference between Sunni and Shia?

This one is bigger. It started with one question: who should lead the Muslims after the Prophet ﷺ?

When he died in 632, a group of companions met and chose Abu Bakr, his closest friend, as the first khalifah, the leader of the Muslims. After him came Umar, then Uthman, then Ali.

Sunni Muslims believe the Prophet ﷺ did not name a leader, and the companions chose well. Their full name is Ahl al-Sunnah wal-Jama'ah: the people of the Sunnah and of the united community. They follow the Sunnah as the companions passed it on, and they honor the four khalifahs in the order they led.

Shia Muslims believe the Prophet ﷺ had already named Ali, his cousin and the husband of his daughter Fatimah, to lead after him. The word Shia comes from Shi'at Ali, which means the followers of Ali. They describe themselves as following the Prophet ﷺ through his family, the Ahl al-Bayt.

What do both sides point to?

On the way home from his last Hajj, at a place called Ghadir Khumm, the Prophet ﷺ gave a talk. He said he was leaving two weighty things with the people: the Book of Allah, and his family. He reminded them of their duty to his family.

On that same trip, he said: whoever I am the mawla of, Ali is his mawla too.

Sunni scholars accept these hadith as authentic, and so do Shia scholars. The word mawla can mean a close friend and supporter, or it can mean a leader. Shia Muslims read it as Ali being named the next leader. Sunni Muslims read it as a command to love Ali and support him.

How did one question grow into real differences?

Ali became the fourth khalifah in 656. There were wars in his time, and he was killed in 661. In 680, his son Husayn, the grandson of the Prophet ﷺ, was killed at Karbala in Iraq, together with many of his family. Sunnis and Shia both grieve for Husayn. For Shia Muslims, Karbala became a center of their faith, and they remember it every year on the day of Ashura.

Over time, the question of who should lead grew into a different way of teaching the religion.

The imams. Most Shia believe that after the Prophet ﷺ, Allah chose twelve imams from his family to guide the Muslims, starting with Ali, then his sons Hasan and Husayn. They believe the imams were kept free from sin. Sunnis honor many of these men as great scholars and members of the Prophet's family, but do not believe Allah chose them to lead.

Hadith books. Sunnis rely on collections like Sahih al-Bukhari and Sahih Muslim. The largest Shia group relies on its own four main books, such as al-Kafi, with most reports passed on through the imams of the Prophet's family.

The companions. Sunnis hold all the companions in honor. Shia scholars judge them one by one, partly by how each one treated Ali and the Prophet's family.

Fiqh. The largest Shia group follows the Ja'fari school, named after Ja'far al-Sadiq, a descendant of the Prophet ﷺ through Fatimah. Sunni scholars respect him too, and Imam Malik narrated hadith from him.

Some practices. Many Shia join Dhuhr with Asr, and Maghrib with Isha, so they pray the five prayers at three times of the day. They point to a hadith where the Prophet ﷺ prayed this way in Madinah, with no travel and no danger, so that his people would not face hardship. Sunnis accept that hadith too, but most Sunni scholars allow joining prayers only for a real need, like travel, rain or illness, not as a daily habit. Many Shia also pray with their hands at their sides, like many Malikis, and place their forehead on a small piece of clay or on natural ground.

Are all Shia the same?

No. The largest group by far are the Twelvers, the ones described above. Most Muslims in Iran, Iraq, Azerbaijan and Bahrain are Twelver Shia, and there are large communities in Lebanon, Pakistan, India, the Gulf and the West.

The Zaydis live mostly in Yemen. They follow Zayd, a grandson of Husayn. In prayer and in law, they are the closest Shia group to Sunnis.

The Ismailis separated from the Twelvers over which son of Ja'far al-Sadiq the imams should come through. Today the largest Ismaili group follows a living imam, known as the Aga Khan. Others, like the Dawoodi Bohras, have their own leader.

There is also a small group, the Ibadis, mostly in Oman, who are neither Sunni nor Shia.

How many Muslims are Sunni, and how many are Shia?

Nobody has an exact count. A common estimate is that about 85 to 90 percent of Muslims are Sunni, and about 10 to 15 percent are Shia. With close to two billion Muslims in the world, that means somewhere around 200 to 300 million Shia Muslims.

Do Sunnis and Shia call each other Muslims?

The main scholars on both sides do. In 2005, hundreds of Sunni and Shia scholars from many countries signed the Amman Message. It named eight schools of law as valid schools of Islam, including the four Sunni schools, the Ja'fari and Zaydi Shia schools, and the Ibadi school. It said no follower of them may be called a non-Muslim.

The Prophet ﷺ said that whoever prays our prayer, faces our qibla and eats what we slaughter is a Muslim, under the protection of Allah and His Messenger. He also warned that if a man calls his brother a disbeliever, one of the two really is one.

You can believe another Muslim is wrong on a question, even a big one, and still treat him as your brother.

What about Deobandi, Barelvi, Salafi and the others?

Groups like the Tablighi Jamaat, Jamaat-e-Islami, Deobandis, Barelvis, Salafis and the Sufi orders are movements and schools of thought, almost all of them inside Sunni Islam. They are a different subject again, and we explain them in a separate post: Deobandi, Barelvi, Salafi, Tablighi: who are these groups?

What do all Muslims share?

More than most people think. Sunni and Shia Muslims both say there is no god but Allah, and Muhammad ﷺ is His messenger. They read the same Quran. They pray toward the same Kaaba, fast the same Ramadan, pay zakat, and stand together at the same Hajj.

They both love the Prophet's family. In every prayer, Sunni Muslims ask Allah to send blessings on Muhammad and on the family of Muhammad, in the words the Prophet ﷺ taught.

Allah says: hold on to the rope of Allah, all of you together, and do not split into groups. Remember that you were enemies, and He joined your hearts, so that by His blessing you became brothers.

And He says: the believers are brothers, so make peace between your brothers, and fear Allah, so that you may receive mercy.

What to do

  • Learn which madhhab your family or your masjid follows, and why.
  • Pray next to a Muslim from another school without correcting him.
  • Learn what other Muslims believe from what they say themselves, not from rumors or angry videos.
  • Speak about every group calmly, even when you disagree.

What not to do

  • Do not call any Muslim a disbeliever.
  • Do not treat a difference between madhhabs like a difference in belief.
  • Do not insult the companions or the Prophet's family.
  • Do not share clips that mock other Muslims.

One last thing

This week, when you pray next to someone whose prayer looks different from yours, do not stare and do not correct him. After the prayer, make a short dua for him, the same as you would for anyone who prays beside you.

Source: Sahih al-Bukhari 946; Sahih al-Bukhari 7352; Sahih Muslim 2408; Jami` at-Tirmidhi 3713; Sahih Muslim 705; Sahih al-Bukhari 391; Sahih al-Bukhari 6104; Sahih al-Bukhari 3370; Quran 3:103; Quran 49:10

SM

These are my own opinions, based on what I have seen and what I have been through. It is completely fine for you to see it differently. If you want to talk about anything in this post, write to me at salam@sunnahdaily.com.

For a ruling on your own situation, please speak to a qualified local scholar. You are welcome to email me about it as well, and I will help if I can, or point you to someone who can.

About the writer

All posts