These imams, in order of their appearance, are: Imam Abu Hanifa al-Nu`man ibn Thabit, (80 AH / 699 AD - 150 AH / 767 AD), and his school the Hanafi maddhab, the doctrine was established in Iraq, Baghdad.[1][2] Imam Malik ibn Anas, (93 AH / 715 AD - 179 AH / 796 AD), and his school the Maliki maddhab, the doctrine was established in the Hijaz of Medina. Imam Muhammad ibn Idris al-Shafi’i, (150 AH/766 AD - 204 AH/820 AD), and his school the Shafi’i maddhab was established in Baghdad, then added to it in Egypt. Imam Ahmad ibn Hanbal, (164 AH / 780 AD - 241 AH / 855 AD), and his school the Hanbali maddhab was established in Baghdad.[6] [8]