He studied Islamic law in Baghdad, later becoming professor of Shafi'ite law at the Nizamiyya school in the same city.
In Baghdad, he pursued his studies in Islamic law and later taught Shafi'ite law as a professor at the Nizamiyya school there.