Last updated
    Al-Shafi'i

    Al-Shafi'i

    Celebrity

    Islamic juristmuhaddithqadi

    Also known as: Imam al-Shafi'i, Muhammad ibn Idris, Shaykh al-Islam

    August 28, 767: January 20, 820 (aged 52)

    Birthday

    August 28, 767

    Birth Sign

    Sagittarius

    Birthplace

    Gaza City

    Age

    Died at 52

    About

    Imam Muhammad ibn Idris al-Shafi'i stands as a towering figure in Islamic history, renowned for founding the Shafi'i school of Sunni jurisprudence, one of the four major legal traditions followed by Muslims worldwide today. Born in Gaza in 767 CE to the Banu Muttalib clan, he is celebrated for synthesizing the hadith-based traditions of the Hijaz with the rationalist methods of Iraq into a unified legal framework. His intellectual legacy is defined by his systematic approach to Islamic law, formalized in his seminal work al-Risala, which established the hierarchy of legal sources including the Qur'an, Sunnah, consensus, and analogical reasoning. Al-Shafi'i's influence extends beyond his lifetime; he is honored with the title "Shaykh al-Islam" and remains a central authority in contemporary Islamic legal discourse. His death in Fustat (Old Cairo) on January 20, 820 CE, marked the end of a life dedicated to scholarship, leaving behind a structured methodology that continues to guide hundreds of millions of people across Egypt, East Africa, Southeast Asia, and the Indian subcontinent.

    Early Life & Background

    Muhammad ibn Idris arrived in Gaza City during the year 767 CE, coinciding exactly with the passing of the renowned scholar Imam Abu Hanifa. Following the death of his father, his mother moved the young boy to Mecca when he was approximately two years old. They settled there in poverty, yet the holy city provided an intense intellectual atmosphere where he began his education under Muslim ibn Khalid al-Zanji, the mufti of Mecca. By age seven, around 774 CE, he had committed the entire Qur'an to memory, and by age ten, circa 777 CE, he had memorized the Muwatta of Imam Malik. He spent his youth mastering Arabic grammar, poetry, and legal reasoning, developing skills that would later define his eloquent arguments. At thirteen, circa 780 CE, he traveled to Medina to study directly under Imam Malik, the founder of the Maliki school. The elder scholar recognized the boy's genius immediately and offered financial support, but al-Shafi'i remained focused on his studies until Malik's death in 795 CE. This period of rigorous learning laid the foundation for his future contributions to Islamic jurisprudence.

    Career Growth

    Following Imam Malik's death, al-Shafi'i served as a judge (qadi) in Najran, Yemen, appointed by the Abbasid governor. This appointment proved dangerous when he was accused of pro-Alid sympathies and dragged in chains to Baghdad to face Caliph Harun al-Rashid. The charges were dismissed, freeing him to engage in rigorous legal debates with Muhammad al-Shaybani, a leading Hanafi jurist. These interactions in Baghdad shaped his early methodology, blending Hijazi traditions with Iraqi rationalism, forming what is known as his "Old School." Around 810 CE, he published al-Risala, the first systematic treatise on the principles of Islamic jurisprudence, establishing the hierarchy of legal sources. In 813 CE, he moved to Egypt, where he revised his opinions based on new knowledge and local contexts, creating his "New School." He taught in Fustat until his death in 820 CE, leaving a legacy that organized Islamic law for centuries to come. His works, particularly al-Umm, remain foundational texts studied globally.

    Career Timeline

    767Born in Gaza City
    769Moved to Mecca with his mother
    774Memorized the entire Qur'an
    777Memorized Imam Malik's Muwatta
    780Began studying under Imam Malik in Medina
    795Appointed judge in Najran, Yemen
    796Arrested and tried in Baghdad; acquitted
    810Authored al-Risala
    813Moved to Egypt and developed New School jurisprudence
    820Died in Fustat, Egypt

    Public Image & Style

    Al-Shafi'i is remembered as a rigorous, systematic thinker who brought order to the chaotic landscape of early Islamic law. He is depicted bridging the gap between the hadith-based approach of the Hijaz and the rationalist methods of Iraq. His public persona was defined by eloquence in both prose and poetry, deep piety, and intellectual independence. Scholars view him as the architect who formalized the discipline of usul al-fiqh, giving it a structure that allowed it to adapt across different cultures and times. He was also known for his expertise in archery and poetry alongside his legal scholarship, adding a dimension of cultural refinement to his image. His title "Shaykh al-Islam" reflects his authoritative status, and his legacy is often discussed in modern academic discourse regarding the foundations of Islamic legal theory.

    Fame & Fandom

    iFANN has not yet collected fame data for this person. As a historical religious figure from the 8th and 9th centuries, he does not appear in modern global celebrity rankings or search interest metrics used for contemporary stars. His influence is measured not in social media followers but in the millions of Muslims who follow the Shafi'i school of jurisprudence today. The "fandom" for al-Shafi'i consists of adherents to the Shafi'i madhhab, one of the four major Sunni schools of law. This community is dominant in Egypt, East Africa, Southeast Asia (particularly Indonesia and Malaysia), Yemen, and parts of the Indian subcontinent. Devotion manifests through the study of his works like al-Risala, pilgrimage to his mausoleum in Cairo, and inclusion in traditional biographies of the great imams. There are no organized fan clubs or campaigns, but his teachings remain central to Islamic legal discourse worldwide. Activists have recently worked to protect his burial site in Cairo's City of the Dead from demolition, highlighting the enduring passion of his followers.

    Interesting Facts and Legends

    Al-Shafi'i was born in the exact same year that Imam Abu Hanifa passed away, a coincidence often noted in historical accounts. Before becoming a renowned jurist, he was also an expert archer and a skilled poet, showcasing talents beyond his legal scholarship. During his trial in Baghdad, he was brought in chains but acquitted after a spirited defense against accusations of supporting Alid claims to the caliphate. He is one of only two people, alongside Imam Ahmad ibn Hanbal, to have both an "Old School" and a "New School" attributed to them due to his revisions in Egypt. His mausoleum in Cairo's City of the Dead received a visitor center in 2023 supported by the U.S. Embassy. Historical sources do not provide reliable records of his physical height, though descriptions note his handsome appearance and dignified bearing. His legal methodology continues to be referenced in contemporary rulings on topics such as ijtihad and dietary laws.

    Notable Quotes

    Knowledge is a journey that requires humility.
    The best of speech is that which is brief and clear.
    I do not know anything that is better than silence.

    Family & Personal Life

    Although records from the 9th century are sparse regarding domestic details, it is documented that al-Shafi'i maintained an ascetic lifestyle throughout his life despite his high status. He belonged to the Banu Muttalib clan, a prestigious branch of the Quraysh tribe connected directly to the Prophet Muhammad's lineage through Hashim. His son, Abu Uthman Muhammad, survived him and continued the family's scholarly tradition, ensuring the lineage remained respected within the community for generations. While specific details about his wife or other children are not preserved in historical accounts, the continuity of his descendants as scholars confirms the stability of his household. His family background as a descendant of the House of the Prophet through the Banu Muttalib clan provided a prestigious social standing that influenced his early opportunities for education and mentorship.

    Notable Connections

    Imam Malik, Muhammad al-Shaybani, Ahmad ibn Hanbal, Harun al-Rashid, Muslim ibn Khalid al-Zanji

    Relationships & Dating History

    As of 2026:Married

    Historical records from the 9th century provide limited details about al-Shafi'i's private life beyond the fact of his marriage. No documentation exists regarding courtships, romantic relationships, or divorce proceedings in the manner of modern biographical standards. The only verifiable relationship information confirms his marital status and parenthood, specifically his son Abu Uthman Muhammad, who survived him. His son carried on the family's scholarly reputation after the Imam's death, continuing the lineage of the Banu Muttalib. The lack of detailed romantic history is typical for figures of this era, where public achievements overshadowed private affairs. The focus of historical records remains on his scholarly interactions with teachers like Imam Malik and rivals like Muhammad al-Shaybani rather than intimate personal connections.

    Death & Aftermath

    Died

    January 20, 820 (aged 52)

    Death Place

    Fustat, Egypt

    Cause of Death

    Fatal illness

    The news of Imam al-Shafi'i's passing sent a wave of profound grief through Fustat that rippled across the Islamic world, with historical accounts describing a funeral procession so massive it reportedly blocked the very streets of the city. Thousands of scholars, judges, and common citizens gathered to pay their final respects to the man who had unified legal thought. He passed away on January 20, 820 CE, corresponding to 30 Rajab 204 AH, shortly after being recalled from Iraq by Caliph Al-Ma'mun to serve as a judge in Egypt. The circumstances were marked by quiet devotion rather than drama; he fell ill upon arriving in Fustat and spent his final days engaged in prayer and teaching before succumbing to a fatal illness.

    Historical records simply attribute the end to this sickness, reflecting the standards of care and documentation available in the ninth century. Following his death, the immediate aftermath focused on burial rites conducted according to Islamic tradition, likely near the mosque where he taught or in the cemetery of Bab al-Wazir. His legacy was immediately solidified by his students and peers, who preserved his teachings to form the Shafi'i school of jurisprudence. While his physical estate was handled by family and students under inheritance laws, the true wealth remained his written works like Al-Umm and Al-Risala.

    Net Worth (Estate Value)

    $0

    iFANN Editorial Team estimate

    As a historical figure from the 9th century, al-Shafi'i did not accumulate personal wealth in the modern sense. His estate consists entirely of his intellectual legacy and written works, which continue to generate value through their enduring impact on legal systems. The value of his contribution lies in the enduring impact of his legal theory, which continues to guide the daily lives and legal systems of hundreds of millions of people globally. His mausoleum in Cairo serves as a significant heritage site, attracting pilgrims and visitors. In 2023, the Egyptian government and the U.S. Embassy invested resources to inaugurate a visitor center at his burial site, highlighting the ongoing cultural and religious importance of his physical legacy. Heritage protection campaigns have been launched to safeguard his tomb and the surrounding cemetery from demolition threats, reflecting the immense economic and cultural value placed on preserving his site.

    Awards & Accolades

    View 6 records, honours and achievements

    Known For

    al-Risala

    810 · Author

    Shafi'i School of Jurisprudence

    820 · Founder

    al-Umm

    820 · Author

    Keywords

    Islamic jurisprudenceShafi'i schoolSunni Islamal-RisalaImam MalikGazaEgyptBaghdad

    Sources

    Quick Facts

    Profession
    Islamic jurist, muhaddith, qadi
    Born
    August 28, 767
    Birthplace
    Gaza City
    Died
    January 20, 820
    Death Place
    El-Fustat
    Gender
    Male
    Birth Sign
    Sagittarius

    Personal Details

    Full Name
    Muhammad ibn Idris al-Shafi'i
    Children
    Abu Uthman Muhammad
    Education
    Studied under Muslim ibn Khalid al-Zanji in Mecca; studied under Imam Malik in Medina

    Frequently Asked Questions

    Who was Imam al-Shafi'i?
    Imam al-Shafi'i was an 8th-century Muslim scholar who founded the Shafi'i school of Sunni Islamic law. He authored al-Risala, the first systematic work on the principles of jurisprudence, and is considered one of the four great imams of Sunni Islam.
    Where was Imam al-Shafi'i born?
    He was born in Gaza City in 767 CE. His family moved to Mecca when he was about two years old after his father died, where he grew up and began his education.
    What is the Shafi'i school of thought?
    It is one of the four major Sunni schools of Islamic jurisprudence founded by Imam al-Shafi'i. It is followed predominantly in Egypt, East Africa, Southeast Asia, and parts of the Middle East, known for balancing textual sources with analogical reasoning.
    How did Imam al-Shafi'i die?
    He died in Fustat, Egypt, on January 20, 820 CE, at the age of 52. His tomb in Cairo's City of the Dead cemetery became a major pilgrimage site for centuries.
    What is al-Risala?
    Al-Risala is al-Shafi'i's most famous work, considered the first systematic treatise on the principles of Islamic jurisprudence. It established the hierarchy of legal sources, Qur'an, Sunnah, consensus, and analogical reasoning, that became standard in Islamic legal theory.

    Join the community

    fans discussing