He studied Islamic law in Baghdad, later becoming professor of Shafi'ite law at the Nizamiyya school in the same city.
In Baghdad, he studied Islamic law and later served as a professor teaching Shafi'ite law at the Nizamiyya school within the same city.