Al-Shafi'i memorized the Holy Quran when he was still seven years old, and recited it in tajwid to the great reciter of Mecca, Isma'il ibn Qistantin.
He learned tafsir (the explanation of Quran) from the scholars of Mecca who inherited their knowledge from
The "Interpreter of the Quran", Abdullah ibn Abbas (G. P. H). (pa: 3)
After memorizing the Quran he turned to memorizing hadith.
From his youth, he was fond of the Arabic language, so he traveled to the desert seeking greater knowledge in grammar, literature, poetry, and linguistics.
He accompanied the Huthail tribe (The most eloquent Arab tribe at that time) for ten years learning its rhetoric and literature, until he became highly skilled in the Arabic language while still a boy.
Al-Asma'i, who was famous for his knowledge of the Arabic language, said: "I have checked the poetry of Huthail with a youth from Quraish called Muhammad ibn Idris".
In Mecca he used to frequent Al-Masjid AL-Haraam listening to scholars with extreme interest.
He was so poor that he could not afford the price of paper, so he would collect bones, pieces of pottery and the like to write on, and used to say: "No one succeeds in acquiring knowledge except those who seek it in (financial) hardship and I used to be unable to afford the price of notebooks".
He was less than fifteen years old when his teacher Muslim ibn Khaled AL-Zinji, the Imam of Mecca and its Mufti (Official interpreter and expounder of Islamic Law), would say to him:
"Abu Abdullah, give your fatwa (legal opinion). By Allah, it is time for you to give fatwa".
In Mecca, Al-Shafi'i was prominent in his mastery of the Arabic language, fiqh, and tafsir, but this did not satisfy him and his enthusiasm for knowledge drove him to strive and travel to gain even more knowledge.
Scholars of that time used to set out to Medina to meet its famous scholar Malek ibn Anas (G. P. H).
Malek was the head of a halaqa (study group) in AI-Haram AL-Nahawi (mosque of Prophet Muhammad (P. B. U. H)), consulted and highly respected by the caliphs.
Al-Shafi'i heard of Imam Malek and desired to meet him and learn from him, so he memorized Malek's book A/-Muwatta', and traveled to Yathreb (Medina).
There, he struggled to reach Malek' s doorstep.
Malek, who was a man of insight, looked at him and said:
"Muhammad, fear Allah and avoid sins because you will have a high status".
In another narration, Malek said:
"Allah has cast light into your heart. Do not put it out with sins".
Then he said to him: "Tomorrow, come and someone will read for you (Malek's book)".
Al-Shafi'i said: "I said to him: 'I have read it,' and I began to recite Al-Muwatta' to him with the book in my hand and every time I feared Malek and wanted to stop he -liking my reading and expression -would say:
'Continue young man' until I recited it all in a few days. '
Malek said: 'If anyone will be successful, it will be this young man. '
After he recited to Malek his Muwatta', he remained in his company learning fiqh from him and discussing the problems which the great Imam used to pass fatwas upon.
A relationship between him and his teacher was established, and Malek used to say of him:
'I have not had (as a student) a man from Quraish more intelligent than this youth. '
Al-Shafi'i used to say: 'If scholars are mentioned then Malek is the star, and no one has been more generous to me than Malek. '
Nevertheless his companionship to Malek did not prevent him from travel and discovery.
He used to go on trips every once in a while to Muslim countries, and would visit his mother and take her advice. (pa: 4)
After ten years in Medina, Malek passed away.
Al-Shafi'i felt that he had acquired a good amount of knowledge so he decided to get a state job to earn a living after having mortgaged his house- his mother being unable to help him financially.
He took a job in Najran, Yemen, and he used to frequent study circles and learn from the greatest scholars there. So it was until he had a disagreement with the Governor of Yemen, The Governor spoke badly of AL-Shafi'i to the Caliph Harun Al-Rashid, who ordered him to be brought before him in Baghdad.
This ordeal was probably brought upon him by Allah (G. B. H) to steer his attention away from state service and return completely to learning.
Al-Shafi'i was acquitted of the allegations he was charged with and quickly gained fame in Baghdad for his knowledge.
He became a student of Muhammad ibn Al-Hasan, (the student of Abu Hanifa who was the designated leader of fiqh in Iraq) from whom he learned the fiqh of Ahl Al-Ra'i (Holders of Opinion).
Thus combining his new knowledge and his previous learning from lmam Malek, who was the leader of fiqh in Medina, Al-Shafi'i came out with a school that united both opinions (which became known as his old school) explained in his book AI-Hujja.
[Narrated from him by many scholars, the best narrator was Za'farani]
After two years in Baghdad, Al-Shafi'i returned to Mecca laden with the knowledge of the great scholars of that time, and he started to give lessons in the Meccan Mosque where he met more and more great scholars during the season of hajj.
They saw a unique scholar in Al-Shafi'i.
During that period Ahmad ibn Hanbal met him.
Ishaq ibn Rahwaih said:
'I met Ahmad ibn Hanbal in Mecca, and he said to me: 'Come with me, I will show you a man your eyes have never seen the like of before' and he showed me
Al-Shafi'i.
We had a debate about hadith and I never saw anyone more knowledgeable than him.
Then we had a debate about the Quran and I never saw anyone more conversant than him.
Then we had a debate in language, and I found him a pillar of language.
I never set my eyes on anyone like him'.
AL-Shafi'i stayed in Mecca for nine years, despite his eagerness to travel, so that he would have the time to derive the rules of deduction away from the noise of Iraq and the conflict of opinions in it.
He wrote a book, Al-Risala, on the science of the origins of fiqh.
Al-Shafi'i traveled to Baghdad again, where his fame had spread, and where he was the talk of teachers and scholars alike.
He was called the 'Guardian of Hadith' there, he began to teach his legal opinions and run his debates according to them.
Study circles for knowledge and fiqh gathered in the Western Mosque to study with him.
Learners and scholars alike sought him.
Some of them wanted to test him, some wanted to listen to him, while others were arrogant of their own school of thought and contemptuous of this new scholar.
The minute, however, one would sit down and listen to him, the previous convictions would be revoked and his followers would increase, AL-Shafi'i kept teaching and deriving new understandings of Allah's (G. B. H) sayings and the hadith of Prophet Muhammad (P. B. U. H) on a daily basis, such that scholars recognized his unique knowledge and he became famous among people.
All the study circles of opposing groups disbanded.
One of them even said:
"Al-Shafi'i came to Bagdad and there were twenty study circles of Ahl Al-Ra'i in the Western Mosque.
The next Friday, only three or four of them stood fast.
During that period, which lasted two years, he (G. P. H) circulated his books (which had matured through study and revisions among his companions.
Al-Shafi'i traveled many times between Mecca and Baghdad.
His last trip, however, was to Egypt and was motivated by his desire to stay away from the center of the Caliphate and politics in Baghdad
This was by an invitation from the wail (governor) of Egypt.
There he dictated his new Math-Herb) school of legal thought) in his book "Al-Mabsut" which later became known as "Al-Umm"
He revised his opinions, books, and writings, and he renewed some of them.
Also, he replaced his previous book that was written during his time in Baghdad, with his new Egyptian book and said: "I do not allow anyone to narrate my Baghdadian book".
The people of Egypt were followers of the school of Imam Malek, yet when they listened to Al-Shafi'i, they were captivated by him.
Many people came from Syria, Yemen, Iraq, and the rest of the world to learn from him.
Testimonies to Al-Shaft'i's knowledge and his status among the knowledgeable were myriad in his time.
His teachers, peers, and students agreed that he was an outstanding scholar, unrivaled by anyone.
Moving beyond such testimonies, we find further proof of his status in the traces he left in quotes, letters, and books.
(Books left by Al-Shafi'i fall into two parts:
1- Those which are attributed by historians to Al-Shafi'i himself, like the book of "Al-Umm,' which is likely to be written down by him, and the book of "Al-Risala'
2- And those which are attributed to his companions as being a summary of his books, like 'Mukhtasar Al-Buwaiti," "Mukhtasar Al-Risala," and 'Mukhtasar Al-Muzni".
Al-Shafii (G. P. H) is credited for both the meaning and style in the former group and the meanings only in the second group.
Narrators have mentioned the way he authored his books.
Some of which were written by hint while some were dictated to his students who read what they had written to him).
His status was, of course, based on his degree of knowledge and his talents.
He was greater than a mere author, and far more than a legal scholar of fiqh.
His study circle encompassed many branches of knowledge.
Al-Rabi ibn Suliman said: "Al-Shafi'i (G. P. H) used to sit down in his study circle after praying Fajr and the students of Quran would come to him, at the break of dawn they would leave and the students of hadith would come and ask him about the explanation of hadith, at sunrise they would leave and the study circle was opened for general studies and considerations.
When it was mid-morning the students of Arabic language, Arud, grammar and poetry would come and stay until midday".
The prophecy of Prophet Muhammad (P. B. U. H) when he said:
"Allah, guide Quraish as its scholar will fill the sides of the earth with knowledge". (pa: 6)
was fulfilled by Al-Shafi'i.