The roots of the Shariah are found in the Quran, and God is considered the ultimate legislator (al-Shari‘). The Had th and Sunnah, however, complement the Quran as the second major source of the Shariah, for the Prophet was the interpreter par excellence of the meaning of God’s Word. From the very beginning, even in Mecca, but especially in the Medinan community, the Shar ‘ah began to be promulgated through the actual practices of the Prophet and the nascent Islamic community and the pronouncements handed down by the Prophet as the judge of the newly founded Islamic society.
On the basis of this early practice and the twin sources of the Quran and Sunnah (which includes the Hadith)—and also the use of such principles as ijma‘, or consensus of the community, and qiyas, or analogy—later generations continued to apply and codify the Law until the second/eighth and third/ninth centuries, when the founders of the great schools of Law (al-madh hib), which have continued to this day, appeared on the scene. In the Sunni world these include Imam Malik ibn Anas, Imam Ab Hanifah, Imam Muhammad al-Shafi‘ , and Imam Ahmad ibn Hanbal, after whom, respectively, the Maliki, Hanafi, Shafi‘ , and Hanbal schools are named. Among these figures, Im m Shafi‘ is especially remembered for developing the method of jurisprudence related to the major principles of the Quran, Sunnah, ijma‘, and qiyas as well as others, not all of which are accepted by all the schools of Law.
Today the vast majority of Sunnis continue to follow these schools: the North and West Africans are almost completely Maliki; the Egyptians, Malays, and Indonesians almost all Shafi‘; the Turks and the Turkic people as well as the Sunnis of the Indo-Pakistani Subcontinent mostly Hanaf ; and the Saudis and many Syrians Hanbali. The school of Law of Twelve-Im m Shiism is called Ja‘fari, named after Im m Ja‘far al-Sadiq, who was the sixth Sh ‘ite Im m and also the teacher of Imam Abu Hanifah. Together these five schools compose the major madh hib of the Shariah. There are, however, a few smaller schools, such as that of the Zaydis, the Ismaili Shiites, and the ‘Ibad s of Oman and southern Algeria. There were also other schools of Sunni Law that gradually died out and have no followers today.