Abbasid Dynasty Minor 179 AH (795 CE)

Death of Imam Malik ibn Anas

وفاة الإمام مالك

Medina, Arabia

# Imam Malik ibn Anas: The Scholar of Medina and Author of al-Muwatta

The Man of the Prophet's City

Malik ibn Anas ibn Malik ibn Abi Amir al-Asbahi (may Allah have mercy on him) was born in Medina in approximately 93 AH / 711 CE and died there in 179 AH / 795 CE, at an age most scholars calculate at between 83 and 90 years. He almost never left Medina throughout his long life — a fact that was both a deliberate choice and a defining characteristic of his scholarship. For Malik, Medina was not merely where he happened to live. It was the most sacred academic address in the world: the city of the Prophet ﷺ, where the Sunnah had been lived, observed, transmitted, and practiced without interruption from the generation of the Companions.

He was the founder of the Maliki school of jurisprudence — the second largest madhab in the Islamic world, followed today by approximately 25% of Muslims, predominant across North Africa (Morocco, Algeria, Tunisia, Libya), West Africa, Mauritania, parts of Egypt, Sudan, and some areas of the Gulf. In terms of geographic reach, the Maliki school dominates more territory than any other — from Senegal on the Atlantic coast to parts of the Arabian Peninsula, a vast swathe of the Muslim world's most diverse and ancient Islamic traditions look to Malik as their foundational authority.

Growing Up in the City of the Prophet

The environment that shaped Malik ibn Anas was extraordinary by any measure. Medina in the late first and early second century AH was still populated by men and women who had known the Companions personally, who had heard their stories and received their knowledge directly, who had observed the practice of the Prophet's ﷺ community from the inside. The "People of Medina" in Malik's formative years were not separated from the Prophetic era by many generations.

Malik studied first under his father and relatives, who were themselves transmitters of hadith. He was drawn early to the mosque of the Prophet ﷺ, the great gathering place of scholars in Medina, and to the circle of the teacher who would most profoundly shape his methodology: Rabi'ah ibn Abi Abd al-Rahman, known as Rabi'ah al-Ra'y (Rabi'ah of Opinion). Rabi'ah was a jurist who balanced hadith transmission with sophisticated legal reasoning, and he recognized in his young student a mind of unusual depth and precision.

Among the other teachers Malik studied under was Ibn Shihab al-Zuhri — one of the greatest hadith scholars of the Tabi'in generation and one of the most important links in the chain of hadith transmission. Malik also narrated from Nafi', the freed slave of Abdullah ibn Umar (may Allah be pleased with him), through whom he transmitted many hadiths from Ibn Umar going back to the Prophet ﷺ. The chain Malik → Nafi' → Ibn Umar → the Prophet ﷺ was described by the great hadith scholar Abdullah ibn al-Mubarak as "the golden chain" (isnad dhahabi) — the most reliable chain of transmission in existence.

Al-Muwatta: The Earliest Surviving Hadith Collection

Al-Muwatta — meaning "The Trodden Path" or "The Well-Worn Road" — is among the most significant works in the entire tradition of Islamic scholarship. It is the earliest surviving systematic collection of hadith organized by legal topics, and it represents simultaneously a hadith collection, a legal manual, and a statement of the legal consensus of Medina.

Malik began compiling al-Muwatta in his early scholarly career and revised it repeatedly over approximately forty years. The result was not a fixed text but a living project that he continued to refine until his death. This is why various recensions of al-Muwatta survive — transmitted by different students who received it from Malik at different stages of its development. The most famous recensions are those of Yahya ibn Yahya al-Laythi (transmitted in Andalusia) and Muhammad ibn al-Hasan al-Shaybani (the Hanafi jurist, who also studied under Malik and produced his own recension with commentary).

The scope of al-Muwatta is comprehensive: it covers the prayers (salat), zakat, fasting, hajj, marriage and divorce, transactions, criminal law, inheritance — the full range of Islamic legal concerns. For each topic, Malik assembles the relevant hadith from the Prophet ﷺ, followed by reports from the Companions, followed by the opinions of the great scholars of Medina, and concludes with his own legal opinion and the practice of the People of Medina.

The Abbasid Caliph al-Mansur — who deeply respected Malik's learning and authority — famously proposed that al-Muwatta be made the official law of the entire Abbasid Caliphate, to be hung in the Ka'bah and applied uniformly across the empire. Malik's response was principled and revealing. He said: "The Messenger of Allah ﷺ came to people, and they asked him questions, and he answered according to the revelation that came to him. And then the Companions of the Messenger of Allah ﷺ spread across the countries and regions, and each of them issued fatawa according to what he had learned. So the people of each city have their own [accepted] knowledge. Do not compel the people to abandon what they are upon." Malik was saying, in effect, that the diversity of valid practices across different Muslim communities — all grounded in authentic transmission from the Companions — was itself a sign of the religion's breadth, not a defect to be corrected by centralization.

The Practice of the People of Medina

Malik's most distinctive and debated legal principle was his elevation of the "practice of the People of Medina" (amal ahl al-Madina) to the status of a legal source. For Malik, this living tradition — the observable practice of Medina's Muslim community, transmitted continuously from the Prophetic era — was itself a form of Sunnah. It was not simply the practice of some Muslims living in a particular city; it was the transmitted behavioral practice of the community that had directly witnessed the Prophet ﷺ and received his teaching in its most complete form.

This principle was debated by Malik's contemporaries and remains a point of distinction between Maliki jurisprudence and other madhabs. Abu Hanifa and his school emphasized textual hadith authenticated through rigorous chains of transmission. Malik argued that the living practice of Medina could sometimes override a hadith with an apparently sound chain, because the practice of Medina constituted a more reliable form of mass transmission (tawatur amali) than the individual hadith report.

The implication was radical in its way: the fact that Medinans did something — the way they prayed, the way they handled certain transactions, the way they observed certain customs — was itself evidence of the Prophet's ﷺ practice, because these things had been transmitted not through a single chain of reporters but through the unbroken, continuous conduct of an entire community. This was Malik's deepest insight, and it derived directly from his sense of Medina's unique place in Islamic history.

His Flogging: Courage Under Political Pressure

In approximately 147 AH, Malik issued a fatwa — a legal opinion — that has become one of the most celebrated examples of scholarly integrity in Islamic history. The question put to him was whether an oath of divorce extracted under compulsion was legally binding. Malik ruled that it was not — that a forced oath (such as "I divorce my wife if I rebel against the Caliph") imposed on someone under duress did not have legal force.

The governor of Medina at the time was Jafar ibn Sulayman al-Hashimi, an Abbasid prince. He interpreted Malik's ruling as a potential legitimization of rebellion — if forced oaths were invalid, then the oaths of loyalty that had been extracted from people under pressure might also be invalid. He ordered Malik to be arrested and flogged. Malik received seventy lashes (some accounts say different numbers) and his arm was dislocated as his arm was stretched behind him during the punishment.

He never recanted the fatwa. He never modified his opinion to accommodate political preferences. When asked afterward about what had happened, he said that he had declared his legal opinion on the basis of knowledge, and the punishment he had received was itself evidence that he was correct — for if the oath of coercion were valid, those who flogged him would not have feared his ruling.

The flogging of Imam Malik became famous throughout the Islamic world and increased his reputation rather than diminishing it. People came to learn from a man who had been willing to suffer for his scholarly integrity.

His Students: A Network That Spread the Madhab

The transmission of Maliki jurisprudence across the Islamic world owes everything to Malik's extraordinary students. Among the most important:

Imam al-Shafi'i (150-204 AH) — who came to Medina specifically to study under Malik, carrying a letter of recommendation, and studied al-Muwatta until he had it memorized. Al-Shafi'i's engagement with Malik shaped his entire intellectual development, even as he eventually developed his own distinct legal methodology. He described Malik as "a star among the scholars" and "the proof of Allah upon His creation after the Tabi'in."

Abd al-Rahman ibn al-Qasim (132-191 AH) — one of Malik's most devoted students, who lived and studied with him for twenty years and transmitted much of the Maliki tradition to Egypt.

Yahya ibn Yahya al-Laythi (152-234 AH) — who carried the Muwatta to al-Andalus (Spain), where it became the foundational legal text of Iberian Islam and remained so for centuries.

Sahnun ibn Sa'id al-Tanukhi (160-240 AH) — the great Maliki scholar of Qayrawan (Tunisia) who compiled al-Mudawwana al-Kubra — the encyclopedic legal work that became the primary reference for North African Maliki jurisprudence and remains so to this day.

His Famous Saying at the Prophet's Grave

Imam Malik is credited with one of the most powerful sayings in the history of Islamic legal theory. Standing in the mosque of the Prophet ﷺ in Medina, he reportedly said: "Every person's saying can be taken or rejected — except the occupant of this grave." He pointed to the grave of the Prophet Muhammad ﷺ.

The statement encapsulates the Islamic position on scholarly authority: no scholar, however learned, however revered, however authoritative, occupies a position above correction. Every human scholar can be wrong. Only the Prophet ﷺ speaks with divine guarantee. This was not false modesty on Malik's part — he was a man of supreme self-confidence in his scholarship. It was a principled theological statement about the limits of human authority in religious matters.

His Death and Legacy

Malik ibn Anas died in Medina on 14 Rabi' al-Awwal, 179 AH. He had been ill for some time before his death. He was washed and buried in al-Baqi' — the famous cemetery of Medina where numerous Companions are also buried.

The scholar and traveler Ibn Jubayr, visiting Medina in the 12th century CE, records the respect with which Malik's memory was held in the city he had never left. Al-Dhahabi, in Siyar A'lam al-Nubala, devotes one of his longest biographical entries to Malik, describing him as "the imam of the imams, the scholar of the scholars, the proof of the ummah."

Ibn Kathir (may Allah have mercy on him) records that Imam al-Shafi'i said, after the death of Malik: "When scholars are mentioned, Malik is the star." He also records the well-known hadith studies that estimate the number of Malik's teachers at around 900 — 300 from the Tabi'in generation and 600 from the Tabi' al-Tabi'in — illustrating the extraordinary breadth of his learning.

The Maliki school's dominance in North and West Africa has meant that Malik's al-Muwatta and al-Mudawwana have governed the religious lives of more African Muslims than any other legal texts. From the Senegalese murid communities to the Moroccan royal court, from the ancient scholarly city of Fez to the mosques of Timbuktu, the tradition that traces back to Malik ibn Anas has shaped the Islam of an entire continent.

His life — from the child who grew up in the shadow of the Prophet's ﷺ mosque to the old man who was flogged for his integrity and continued to teach until his final days — stands as one of the great examples of what a Muslim scholar can be.

Sources:

  • Al-Dhahabi, Siyar A'lam al-Nubala, Volume 8
  • Ibn Kathir, al-Bidaya wan-Nihaya, Volume 10
  • Ibn Abd al-Barr, al-Intiqa fi Fada'il al-A'imma al-Thalatha al-Fuqaha
  • Al-Qadi Iyad, Tartib al-Madarik wa Taqrib al-Masalik (essential Maliki biographical dictionary)
  • Ibn Sa'd, al-Tabaqat al-Kubra, Volume 5
  • Al-Khatib al-Baghdadi, Tarikh Madinat al-Salam (biography of Imam Malik)
  • Malik ibn Anas, al-Muwatta (Yahya ibn Yahya recension)
  • Al-Shafi'i, al-Risala (contains extensive engagement with Maliki methodology)
  • Ibn Khaldun, al-Muqaddimah (on the Maliki school's spread across North Africa)

For the Prophetic era, see the Seerah timeline .