He was an imam, a great scholar, an authority, a theologian, a disputant, a legal theorist and a mujtahid; Ibn Kamal Basha counted him among the mujtahids in particular questions. He attached himself to Shams al-A'imma 'Abd al-'Aziz al-Halwani and took from him until he was trained by him and became the unique one of his age. It is said that he died around four hundred and ninety, and it is said around five hundred. Burhan al-A'imma 'Abd al-'Aziz ibn 'Umar ibn Maza, Mahmud ibn 'Abd al-'Aziz al-Uzjandi, Rukn al-Din Mas'ud ibn al-Hasan and 'Uthman ibn 'Ali ibn Muhammad al-Baykandi studied law under him; the last was the last survivor of those who studied under him. He dictated al-Mabsut, about fifteen volumes, while in prison at Uzjand; he was confined in a pit on account of a word of good counsel he gave the Khaqan. He dictated from memory without consulting any book while he was in the pit and his students were at the top of the pit. On finishing the commentary on the acts of worship he said: "This is the end of the commentary on the acts of worship, with the clearest meanings and the most concise expressions, dictated by one imprisoned away from the Friday prayers and the congregations." At the end of the commentary on acknowledgement (iqrar) he said: "Here ends the commentary on acknowledgement, containing such meanings as are among the secrets, dictated by one imprisoned in the prison of the wicked." He has a book on the principles of jurisprudence, and the commentary on al-Siyar al-Kabir, which he dictated while in the pit; when he reached the chapter on conditions, relief came to him and he was released. At the end of his life he went to Farghana, where the Amir Hasan lodged him in his own residence; the students came to him and he completed the dictation.
(The compiler says:) al-Sarakhsi: his nisba is to Sarakhs, with fatha on the sin, fatha on the ra' and sukun on the kha', an ancient town in Khurasan; it is the name of a man who settled in this place and built it up, and Dhu al-Qarnayn completed its building; al-Sam'ani mentioned this. I have read his commentary on al-Siyar al-Kabir, which begins "Praise be to God, Lord of the worlds"; it contains many questions and abundant hadith points. In it he mentions that he read al-Siyar al-Kabir with Shams al-A'imma Abu Muhammad 'Abd al-'Aziz ibn Ahmad al-Halwani, who said: the Qadi Imam Abu 'Ali al-Husayn ibn Muhammad al-Nasafi informed us, saying: the Shaykh Abu Bakr Muhammad ibn al-Fadl and Abu Ishaq Ibrahim ibn Muhammad ibn Hamdan al-Khatib al-Muhallabi informed us, saying: 'Abd Allah ibn Muhammad ibn Ya'qub al-Harithi informed us, saying: Abu Muhammad 'Abd al-Rahim ibn Dawud narrated to us, saying: Abu Ibrahim Isma'il ibn Tawba narrated to us, saying: Muhammad ibn al-Hasan narrated to us, etc. In Madinat al-'Ulum: He was trained by Shams al-A'imma 'Abd al-'Aziz al-Halwani and died around five hundred. He was a learned legal theorist. It is widely reported that he dictated al-Mabsut without consulting any book. He has a book on the principles of jurisprudence and the commentary on al-Siyar al-Kabir, both of which he dictated while in the pit, imprisoned on account of a word of good counsel he gave the amirs; his students would gather at the top of the pit writing. When he reached the chapter on conditions he was released from prison and went to Farghana, where the Amir Hasan honoured him; the students came to him and he completed it. He also has a commentary on Mukhtasar al-Tahawi and on the books of Muhammad. It was said to him: al-Shafi'i memorised three hundred quires; so he reckoned what he himself had memorised and it came to twelve thousand quires. End of quotation. In the Tabaqat of al-Qari: He dictated al-Mabsut, about fifteen volumes, while in prison at Uzjand, imprisoned on account of a word in which he was among those giving good counsel. He is one of the great scholars of our school in Transoxania, a master of the principles and the branches, and he died in the year four hundred and thirty-eight.