[1][2] Like the other schools of fiqh, Shafiʽi recognize the First Four Caliphs as the Islamic prophet Muhammad's rightful successors and relies on the Qurʾān and the "sound" books of Ḥadīths as primary sources of law.
[4][6] The Shafi'i school affirms the authority of both divine law-giving (the Qurʾān and the Sunnah) and human speculation regarding the Law.
[7] The school rejected the dependence on local traditions as the source of legal precedent and rebuffed the Ahl al-Ra'y (personal opinion) and the Istiḥsān (juristic discretion).
[11][12] The Shafiʽi school is now predominantly found in parts of the Hejaz and the Levant, Lower Egypt, Kurdistan, Somalia, Yemen, Malaysia, and Indonesia, in the North Caucasus and generally all across the Indian Ocean (Horn of Africa and the Swahili Coast in Africa and coastal South Asia and Southeast Asia).
And "Shafi'i" jurists, unlike other Sunni sects, agree with the Shi'a opinion, and consider "In the name of God, Most Gracious, Most Merciful" as part of all the surahs of the Qur'an.
[20] Al-Shāfiʿī (c. 767–820 AD) visited most of the great centres of Islamic jurisprudence in the Middle East during the course of his travels and amassed a comprehensive knowledge of the different ways of legal theory.
He was a student of Mālik ibn Anas, the founder of the Mālikī school of law, and of Muḥammad Shaybānī, the Baghdad Ḥanafī intellectual.