Career
After leaving al-Andalus for the Near East, he became a Shāfi‘ī, and taught Arabic language and literature in Aleppo and Hamāt, before eventually settled in Damascus, where he began the most productive period of his life. He was a senior master at the Adiliyya Madrasa. His reputation in Arabic literature was cemented by his al-Khulāsa al-alfiyya (known also as simply Alfiya), a versification of Arabic grammar, for which at least 43 commentaries have been written.