Al-Khwarizmi also built a school near the mosque, named the Great Imam School, for teaching the Hanafi madhab.
Al-Khwarizmi constructed a school close to the mosque and named it the Great Imam School for teaching the Hanafi school of thought.