Chief judge (qadi al-qudat) in Egypt.
He studied law under the chief judge Sadr al-Din Sulayman ibn Abi al-'Izz Wuhayb, and under Abu al-Tahir Ishaq ibn 'Ali ibn Yahya, the shaykh Najm al-Din, and became related to him by marriage.
He was born in the year 639, and it is said: 637.
He held the judgeship in Egypt after the chief judge Mu'izz al-Din Nu'man ibn al-Hasan, who will come,
God willing. When the sultan al-Malik al-Mansur Lajin became sultan, he dismissed him in favour of the chief judge Husam al-Din, who will come, God willing. When Lajin was killed, he was restored to office, and he remained until the sultan al-Nasir came from al-Karak and dismissed him in favour of the chief judge Shams al-Din Muhammad ibn al-Hariri, who will come, God willing; he had him brought from Damascus, and he arrived in Egypt on the fourteenth of Rabi' al-Akhir, in the year 710.
He died in the al-Suyufiyya madrasa in Cairo, on Thursday, the twenty-second of Rajab al-Fard, in the year 710, and was buried the same day in his tomb in the Qarafa of Misr, next to the dome of the shrine of the imam al-Shafi'i, God have mercy on him and be pleased with him.
He had a share in many sciences; he compiled, wrote, gave fatwas and taught.
He wrote a book on al-Hidaya, which he called al-Ghaya, and did not complete it.
His chain of transmission in law: he studied with the imam Abu al-Rabi' Sadr al-Din Sulayman, from the shaykh Jamal al-Din Mahmud al-Hasiri, from the imam Fakhr al-Din al-Hasan ibn Mansur Qadi Khan, from the imam Zahir al-Din al-Hasan ibn 'Ali ibn 'Abd al-'Aziz al-Marghinani, from the imam Siraj al-A'imma Burhan al-Din 'Abd al-'Aziz ibn Maza and Shams al-Din Mahmud, the grandfather of Qadi Khan, both from Shams al-A'imma al-Sarakhsi, from the imam Abu Muhammad 'Abd al-'Aziz al-Halwani, from Abu 'Ali al-Hasan ibn Khadir al-Nasafi, from the imam
Abu Bakr Muhammad ibn al-Fadl al-Bukhari, from Abu 'Abd Allah ibn Abi Hafs, from his father Abu Hafs al-Kabir, from Muhammad ibn al-Hasan, from the imam Abu Hanifa.
I say: I studied law under a group [fol. 22a] of imams who had studied law under the chief
judge Abu al-'Abbas; among them the three imams Fakhr al-Din Abu 'Amr 'Uthman, his son Abu al-'Abbas Ahmad, and Abu al-Hasan 'Ali; each of them will come in his chapter. Thus my chain of transmission in law is connected to the greatest imam Abu Hanifa, praise be to God.
Its like never happened in a single year in Egypt, I mean the year 710.
The sultan of Egypt died. And its judge, the imam of the Hanafis, and its Qur'an commentator. And the one who spoke on hearts. And its preacher. And its shaykh of shaykhs. And the imam of the Shafi'is. And its market inspector. And the overseer of its army. And its man of letters.
In Dhu al-Qa'da the sultan al-Malik al-Muzaffar Baybars was killed.
In Rajab died the chief judge, the imam of the Hanafis, the subject of this biography.
On the ninth of Dhu al-Qa'da died the imam 'Izz al-Din 'Abd al-'Aziz ibn 'Abd al-Jalil al-Nimrawi.
On the thirteenth of Jumada al-Akhira died the imam Taj al-Din Abu al-'Abbas Ahmad ibn Muhammad ibn 'Ata' Allah ibn 'Abd al-Rahman ibn 'Abd al-Karim ibn al-Hasan al-Maliki, author of superb discourse.
On the sixth of the month of Sha'ban died the shaykh of the preachers Najm al-Din ibn al-'Anbari.
On Friday, the sixth of Shawwal, died the shaykh of shaykhs Karim al-Din 'Abd al-Karim ibn Hasan ibn Abi Bakr al-Amidi, in the khanqah of Sa'id al-Su'ada'.
On the night of Friday, the eighteenth of Rajab, died the imam of the Shafi'is Najm al-Din Abu al-'Abbas Ahmad ibn al-Rif'a.
At the beginning of Jumada al-Akhira died the judge Badr al-Din Hasan ibn Nasr al-Is'irdi, the market inspector.
On the night of the tenth of Shawwal died the judge Baha' al-Din Abu Muhammad 'Abd Allah ibn Ahmad ibn 'Ali ibn al-Muzaffar ibn al-Hilli, overseer of the armies; he transmitted hadith from al-Najib.
On the twenty-eighth of Jumada al-Akhira died the imam and man of letters Shams al-Din Abu 'Abd Allah Muhammad ibn Daniyal ibn Yusuf ibn Ma'tuq al-Khuza'i al-Mawsili.
He was born there in the year 47.
He was much given to ribaldry and dissoluteness, and to elegant poetry.
He wrote the book Tayf al-Khayal.
From his poetry:
Because of a master of the hunt (amir shikar) I have / a fire that melts the ribs
When he resembled the gazelle in beauty, / the jawarih (hunting birds; also: limbs) yearned for him