He held the teaching post at the shrine of the Imam [Abu Hanifa] outside Baghdad.
He came to Damascus twice, then to Egypt, and taught at the Maridani mosque; when the Amir Sarghitmish (the print has «صبرغتمش») built his madrasa adjoining the mosque of Ibn Tulun, he installed him there as teacher.
Ibn al-Habib said: He was a leader in the Hanafi school, accomplished in jurisprudence and the Arabic language, much pleased with himself, and fiercely partisan against anyone who contradicted what was set down in his writings. This is shown by his words at the end of Sharh al-Akhsikathi: “If the forebears were alive, Abu Hanifa would say: You have exerted yourself (ijtahadta).
And Abu Yusuf would say: You have kindled the fire of clear exposition.
And Muhammad would say: You have done well.
And Zufar would say: You have been precise.
And al-Hasan would say: You have gone deep.
And Abu Hafs would say: You have been thorough.
And Abu Mansur would say: You have verified.
And al-Tahawi would say: You have spoken truly.
And al-Karkhi would say: Blessed be what you have uttered.
And al-Jassas would say: You have made it sound.
And the Qadi Abu Zayd would say: You have hit the mark.
And Shams al-A'imma would say: You sought and you found.
And Fakhr al-Islam would say: You have become skilled.
And Najm al-Din al-Nasafi would say: You have dazzled.
And the author of al-Hidaya would say: O diver of the sea, you have crossed over.
And the author of al-Muhit would say: You have excelled in what you made public and what you kept hidden, and so on with others of our great ones whose number cannot be counted, God’s mercy be upon them.
And al-Mutanabbi would say: You are of the eloquent in their expressions:
Musky in its waftings, except that it is shy: with others than them it gives off no fragrance.”
And he said in one of his discussions:
“This is something we have not found in the books of either the earlier or the later [scholars].”
He wrote Sharh al-Hidaya, which he called Ghayat al-Bayan wa-Nadirat al-Aqran fi Akhir al-Zaman, and Sharh al-Akhsikathi, which he called al-Tabyin; he also has a treatise on the question of raising the hands, and another on the invalidity of the Friday prayer [held] in two places in the same town.
He was born in Itqan in the year six hundred and eighty-five; so it was found in his handwriting.
He died in the year seven hundred and fifty-eight.
He transmitted al-Hidaya from his shaykh and teacher Burhan al-Haqq wa-l-Din Ahmad ibn As'ad ibn Muhammad Abi Hafs al-Bukhari, who [had it] from his two shaykhs, the most learned Hamid al-Din al-Darir 'Ali ibn Muhammad ibn 'Ali al-Bukhari and Hafiz al-Din al-Kabir Muhammad ibn Muhammad ibn Nasr al-Bukhari, from their shaykh, the most learned Shams al-A'imma Muhammad ibn 'Abd al-Sattar ibn Muhammad al-'Imadi al-Kardari, from Shaykh al-Islam, the author of al-Hidaya, Burhan al-Din 'Ali ibn Abi Bakr Muhammad ibn 'Abd al-Jalil al-Marghinani, God Most High be pleased with them all. So he mentioned it in the preface of Ghayat al-Bayan.