Our Urdu book Khilafat aur Jangen is 75% off: $1.50 instead of $6.00.Get the book
UmmahAtlas
Book 75% off
Blog

Who Was Imam Malik?

Imam Malik ibn Anas (711-795) was a scholar of Medina who founded the Maliki school and wrote the Muwatta, one of the earliest books of Islamic law.

The Prophet's Mosque in Medina with its green dome and minarets under a blue sky
The Prophet's Mosque in Medina, the city where Imam Malik lived and taught. Stock photo.

Imam Malik ibn Anas (711-795) was one of the great scholars of early Islam. He lived in Medina, the city of the Prophet Muhammad, and spent his life teaching the Quran, hadith and Islamic law. His book, the Muwatta, is one of the earliest books of Islamic law still read today, and the Maliki school of law that carries his name is followed by millions of Muslims, mainly in North and West Africa.

Malik is counted among the four great imams whose schools of law shaped Sunni Islam, alongside Abu Hanifa, al-Shafi'i and Ahmad ibn Hanbal. Of the four, he was the only one who spent his whole life in Medina, and his teaching was deeply shaped by the city itself. He believed that the way the people of Medina lived and worshipped was the best guide to the practice of the Prophet, because Medina was the city where the Prophet had lived and where his companions had stayed.

Early life in Medina

Malik was born in Medina in the year 711, about 80 years after the death of the Prophet Muhammad. His family came from Yemen but had settled in Medina long before, and his grandfather had been one of the generation that followed the companions. As a young man, Malik memorised the Quran and began to study hadith, the recorded sayings and actions of the Prophet.

His most important teacher was Nafi, the freed slave of Abdullah ibn Umar, the son of the second caliph. Nafi had spent his life with Ibn Umar and knew his teachings in detail, so Malik learned from a man who was only one step away from the companions themselves. Malik also studied with many other scholars of Medina, and he was known even as a young man for his careful memory and his refusal to speak about things he was not sure of.

Medina in the 8th century was no longer the capital of the Muslim world. The caliphs now ruled from Damascus and then Baghdad, but Medina was still the city of learning, the place where the Prophet's mosque stood and where scholars gathered. Malik never left it. He refused invitations to move to the court of the caliph in Baghdad, and he spent almost his entire life within a short walk of the Prophet's Mosque.

The teacher of Medina

For more than 40 years, Malik taught in the Prophet's Mosque in Medina. Students came to him from across the Muslim world, from Spain and North Africa in the west to Iraq and Persia in the east. He taught sitting in the mosque, often after the afternoon prayer, and his students would sit around him and listen as he read from his book and explained the law.

Malik was famous for his care. He would not give a legal opinion in a hurry, and he often answered difficult questions with the words "I do not know." His students said that he would think for a long time before answering, and that he would rather admit he did not know than risk giving a wrong answer. This honesty became one of the things he was most admired for.

He was also famous for his respect for Medina. He would not ride a horse or a donkey in the streets of the city, because he did not want to ride above the ground where the Prophet had walked. When he taught hadith, he would dress in clean clothes, sit up straight and speak calmly, because he believed that the words of the Prophet deserved respect.

Historians report that Malik was once flogged by order of the governor of Medina, after he gave a ruling that a divorce made under force did not count. The ruling went against the wishes of the caliph of the time, and Malik was punished for it. He bore the punishment patiently and did not change his opinion. The story is told to show his independence and his refusal to bend the law for the sake of rulers.

The Muwatta

Malik's great work is the Muwatta, which means "the well-trodden path." He worked on it for about 40 years, adding to it and revising it throughout his life. The book is a collection of hadith and the legal opinions of the companions and the scholars of Medina, arranged by subject, from prayer and fasting to trade and family law.

The Muwatta is one of the earliest books of Islamic law to survive. It is shorter than the great hadith collections that came later, and it mixes hadith with the practice of Medina, because for Malik the two belonged together. When a hadith and the practice of the people of Medina agreed, he was confident. When they seemed to differ, he trusted the practice of Medina, because he believed it showed how the hadith had actually been understood and lived by the people who knew the Prophet best.

Students travelled to Medina to study the Muwatta with Malik himself, and the book spread quickly across the Muslim world. It was copied by hand and carried to Spain, North Africa, Egypt and Iraq. Today it is still studied in Islamic schools, and it is valued by scholars as a window into the Islam of the first two centuries.

The Maliki school

The school of law that carries Malik's name, the Maliki school, grew out of his teaching and the work of his students. After his death, his students carried his books and his opinions to the west, and the Maliki school became the main school of law in North Africa, from Morocco and Algeria to Tunisia and Libya, and in West Africa, in countries such as Mali, Senegal and Nigeria. It is also followed by many Muslims in the Gulf and in Sudan.

The Maliki school is known for giving weight to the practice of the people of Medina. Where other schools rely mainly on hadith texts, Maliki scholars also ask what the people of Medina did, because they believe that the practice of the city was passed down from the Prophet himself. The school is also known for its use of the public interest as a source of law, allowing scholars to judge new questions by what serves the good of the community.

One of Malik's most famous students was al-Shafi'i, who later founded his own school of law. Al-Shafi'i studied the Muwatta with Malik in Medina and always spoke of his teacher with great respect. The link between the two men is one of the most famous teacher-student links in Islamic history.

His character and legacy

Malik died in Medina in the year 795, at the age of about 84. He was buried in the al-Baqi cemetery in Medina, the burial ground where many of the companions and their families are buried. His grave is still visited by pilgrims today.

He left behind no great wealth and no political power, only his books and his students. But his influence has lasted for more than 1,200 years. The Maliki school is still followed by tens of millions of Muslims, the Muwatta is still read in mosques and schools, and his name is still spoken with respect whenever scholars talk about the early generations of Islam.

Malik is remembered not only for his knowledge but for his character. He taught his students that knowledge was not about showing off, and that the scholar who fears God is the one who admits what he does not know. That lesson, more than any single ruling, is the part of his legacy that is most often repeated.

Frequently asked questions

When did Imam Malik live?

Imam Malik ibn Anas was born in Medina in the year 711 and died there in 795. He lived during the first two centuries of Islam, under the Umayyad and early Abbasid caliphs.

What is the Muwatta?

The Muwatta is Imam Malik's great book of hadith and Islamic law. He worked on it for about 40 years. It collects the sayings of the Prophet and the opinions of the companions and the scholars of Medina, arranged by subject.

Where is the Maliki school followed today?

The Maliki school is the main school of law in North Africa, including Morocco, Algeria, Tunisia and Libya, and in West Africa, including Mali, Senegal and Nigeria. It is also followed by many Muslims in Sudan and the Gulf.

Who were Imam Malik's famous students?

His most famous student was Imam al-Shafi'i, who founded his own school of law. Many other scholars also studied with him in Medina and carried his teaching to Spain, North Africa and Egypt.

Where is Imam Malik buried?

Imam Malik is buried in the al-Baqi cemetery in Medina, the burial ground where many of the companions of the Prophet and their families are buried.

Related articles
  1. 1

    Who Was Imam Al-Shafi'i?

    Who was Imam Al-Shafi'i? The scholar who founded the Shafi'i school of Islamic law and wrote the first book on the principles of...

  2. 2

    Who Was Ibn Khaldun?

    Who was Ibn Khaldun? The 14th century Tunisian scholar who wrote the Muqaddimah and founded the study of history and society.

  3. 3

    Who Was Imam Abu Hanifa?

    Who was Imam Abu Hanifa? The Kufa scholar of 699 to 767 whose legal school became the most followed in Sunni Islam, from Baghdad to...

  4. 4

    Who Was Ibn Taymiyyah? Life, Teachings and Legacy

    Who was Ibn Taymiyyah? The life of the 13th century Hanbali scholar from Harran to Damascus, his books, his trials and his lasting...

Keep exploring
Cover of the Urdu book Khilafat aur Jangen
The book, 75% off

Read the whole story in Urdu

Khilafat aur Jangen puts this history in one Urdu PDF: 111 pages, 14 maps, battle pages, family trees, timelines, a glossary and a quiz, from 632 to 2026.

$1.50$6.0075% off