He founded his own Shafi’i madhhab or school of fiqh in Cairo where he taught his students his life’s work until his death in 819 in Egypt. Al-Shafi’i was buried in a tomb in the cemetery of Ibn ‘Abd al-Hakam in the al-Qarafa al-Sughra (City of the Dead) in Cairo.
