Muhammad ibn Idris al-Shafi'i authored Kitab ar-Risala fi Usul al-Fiqh (The Book of the Treatise on the Principles of Jurisprudence) around 810-814 CE in Fustat. The work established formal principles of Islamic jurisprudence (usul al-fiqh), systematically outlining methodology for deriving Islamic law and establishing the hierarchy of legal sources: the Quran, the Sunnah (prophetic traditions), consensus (ijma), and analogical reasoning (qiyas). Al-Shafi'i's framework balanced textual authority with methodological flexibility, influencing all subsequent Islamic legal schools and providing foundations for Islamic jurisprudence that continue shaping Muslim legal thought.