The pious, outstanding imam, the second mujtahid, Muhammad ibn al-Hasan ibn Farqad, Abu 'Abd Allah al-Shaybani.
His origin was from Syria, from a village called Harasta. His father came from Iraq, and Muhammad was born in Wasit and grew up in Kufa. He sought hadith and heard from Mis'ar, Malik ibn Mighwal, 'Umar ibn Dharr, al-Awza'i, al-Thawri and their like.
He accompanied Abu Hanifa and took fiqh from him; then, after Abu Hanifa, he took his knowledge from Abu Yusuf.
From him took Abu Hafs al-Kabir al-Bukhari, Abu Sulayman al-Juzjani, Musa ibn Nasr al-Razi, Muhammad ibn Sama'a, Ya'la ibn Mansur, Ibrahim ibn Rustam, Hisham ibn 'Abd Allah, 'Isa ibn Aban, Muhammad ibn Muqatil, the faqih Ayyub ibn al-Hasan, Shaddad ibn Hakim and Dawud ibn Rashid.
Muhammad was learned in the Book of God Most High, and skilled in the science of Arabic, grammar and arithmetic.
From Abu 'Ubayd: I have not seen anyone more knowledgeable of the Book of God Most High than Muhammad ibn al-Hasan.
From al-Shafi'i, that he said: I took from Muhammad ibn al-Hasan a camel-load of knowledge, and I have not seen a fat man lighter of spirit than he. He said: He used to fill the heart and the eye; [and I have not seen a fat man of better understanding than he, and when he spoke you would imagine that the Qur'an had been revealed in his language.
It is he who spread the knowledge of Abu Hanifa among those who spread it, and he composed many books; the sciences of Abu Hanifa became manifest only through his famous works, such as the two Jami's, the Ziyadat, the Mabsut and others.
In al-Taqdima sharh al-Muqaddima: The sciences of Abu Hanifa became manifest only through the works of Muhammad, so that it was said: He composed nine hundred and ninety-nine books, all of them in the religious sciences.
It was said: The imam Muhammad was seen in a dream after his death, and it was said to him: How were you in the state of the death-throes? He said: I was reflecting on one of the questions of the mukatab, and I did not notice my soul departing.
It was said to Ahmad ibn Hanbal: Where did you get these subtle questions from? He said: From the books of Muhammad ibn al-Hasan.
From al-Simnani: His father brought him to the imam, and he said to his father: Shave his head and dress him in worn-out clothes. He did so, and in worn-out clothes his beauty only increased. Waki' said: We disliked walking with him in the search for hadith, because he was a handsome youth.
It is related that he came in to Malik while he was young in years and said: What do you say of a person in a state of major ritual impurity who finds water only in the mosque? Malik said: The person in major impurity does not enter the mosque. He said: Then what should he do, when the prayer has come and he sees the water in the mosque? He kept repeating, saying: The person in major impurity does not enter the mosque. When Muhammad pressed him much, Malik said: What do you say? He said: He performs tayammum, enters, takes the water and washes. He said: Where are you from? He said: From the people of this, and pointed to the ground. He said: There is no one of the people of Medina whom I do not know; how many there are whom we do not know! When he rose it was said: This is Muhammad ibn al-Hasan. He said: How can Muhammad lie, saying: I am from the people of Medina? They said: He only pointed to the ground. He said: This is worse than that.]
In al-Jawahir al-mudiyya, from Ibn 'Abd al-Hakam: I heard al-Shafi'i say: Muhammad ibn al-Hasan said: I stayed at Malik's door for three years, and I heard from him seven hundred and some hadiths verbatim.
In the Kitab Manaqib Abi Hanifa of al-Kardari: It is related that al-Shafi'i spent the night at Muhammad's house; he stood [in prayer] until morning while Muhammad lay down, and al-Shafi'i thought this too much of him. When dawn broke he rose and prayed without renewing his ablution. Al-Shafi'i came in to Muhammad, and he said: You worked for yourself until morning, and I worked for the community: I extracted from the Book of God Most High one thousand and some questions. He [al-Shafi'i] said: I did not wonder at my staying awake the night standing; I only wonder at his staying awake lying down. It was said to 'Isa ibn Aban: Is Abu Yusuf the greater faqih or Muhammad? He said: Then judge by their books, meaning: Muhammad is the greater faqih.
Among his books is the Asl, which he dictated to his companions; Abu Sulayman al-Juzjani and others transmitted it from him. Al-Atqani said (in Sharh al-Hidaya): He named it Asl only because he composed it first, and it is the Mabsut; then he composed the Kitab al-Jami' al-saghir, then the Kitab al-Jami' al-kabir, then the Kitab al-Ziyadat.
Abu Sulayman al-Juzjani said in the Mabsut: I said to Muhammad: Is there a voluntary prayer before 'asr? He said: If you do it, it is good. I said: How much is the voluntary prayer before it? He said: Four rak'as. End (of al-Atqani's words).
He has the Siyar al-kabir; a group transmitted the Nawadir from him (among them Ibn Sama'a, Ibn Rustam and Hisham); he has the Haruniyyat, the Raqqiyyat and the Kaysaniyyat; and he has the Athar and the Muwatta'.
(At the beginning of the Book of Earning in the Muhit of al-Sarakhsi: It is related that it was said to Muhammad: Will you not write on asceticism? He said: Yes. He had finished writing on the legal rulings, and his brain had grown weak, and he wanted to write a hundred works on asceticism, but he had leisure only for this book; and he was [eminent] in asceticism and scrupulousness.) It was said: He was asked to make an index of his works, and they reached a thousand works; had he lived he would have completed them, [and he wearied those who seek to draw from them.
It was said: His death was a mercy and his life a mercy. Up to here from the Muhit.
Al-Atqani also said in Sharh al-Hidaya: Muhammad said in his Muwatta': Yazid ibn 'Abd Allah ibn Qusayt informed us, from Muhammad ibn 'Abd al-Rahman ibn Thawban, from his mother, from 'A'isha, may God be pleased with her: that the Messenger of God, God bless him and grant him peace, commanded that the skins of carrion be made use of when they are tanned.
Fakhr al-Islam al-Bazdawi said at the beginning of Sharh al-Jami' al-saghir: Abu Yusuf expected Muhammad to transmit a book from him, so Muhammad composed this book and transmitted it from Abu Yusuf from Abu Hanifa. When it was shown to Abu Yusuf he approved of it and said: How well Abu 'Abd Allah has preserved, except for questions in whose transmission he erred. When that reached Muhammad, he said: No, I preserved them and he forgot.
They are six questions mentioned in Sharh al-Jami' al-saghir; among them: a man prays four [rak'as] of voluntary prayer and recites in one of the first two and one of the last two only; Muhammad related that he makes up four. Abu Yusuf said: I only related two rak'as to him. Fakhr al-Islam said: Our shaykhs relied on Muhammad's transmission.
The shaykh and imam Fakhr al-Din Qadi Khan said in Sharh al-Jami' al-saghir: They differed over the authorship of this book. Some said: It is the composition of Abu Yusuf and Muhammad; others said: It is the composition of Muhammad, for when he had finished composing the Mabsut, Abu Yusuf ordered him to compose a book and transmit it from him, so he composed this book and showed it to Abu Yusuf. Abu Yusuf said: How well Abu 'Abd Allah has preserved from me, except that he erred in three questions. Muhammad said: I did not err, but you forgot the transmission. End.
So in the Sharh of Sadr al-Islam: he erred in six questions; and in the Sharh of Qadi Khan: he erred in three questions.
Khwahar Zada said in his Mabsut: When Muhammad showed the Jami' al-saghir to Abu Yusuf, Abu Yusuf said: All of it you have related from me from Abu Hanifa except three questions, among them this one, for you made a mistake in it; I related it from Abu Hanifa that he makes up two rak'as, so why did you relate that he makes up four? Muhammad said: I related it as you mentioned, except that you forgot and I preserved. Abu Yusuf said: I did not forget. And they disputed.
It is possible that Abu Yusuf mentioned to him the qiyas and the istihsan, and Muhammad retained the answer by istihsan, which is making up four, rather than the qiyas.
Moreover, in transmitting the questions Muhammad wrote: Muhammad from Ya'qub from Abu Hanifa, [naming] Abu Yusuf by his name, so that there would be no impression of equal veneration between the two shaykhs, because the kunya is for veneration; and Muhammad had been instructed by Abu Yusuf to mention him by his name where he mentioned Abu Hanifa.
On this basis our shaykhs said: It is part of good manners that students should not address one another with the word "mawlana" in the presence of their teacher, guarding against equal veneration of teacher and pupil. So al-Atqani mentioned in Sharh al-Hidaya, in the chapter on the call to prayer.
In the Khulasa, quoting Sharh al-Shafi: Seeking the judgeship is not permitted in any circumstance according to most scholars, and if it is given without being sought he may not take it up unless he is compelled to it. This is the view of al-Karkhi, al-Khassaf and the scholars of Iraq, and it is the choice of Abu Hanifa, who refused it until he was beaten with whips; and Muhammad refused it until he was put in fetters for fifty-odd days. End.]
He was appointed to the judgeship of al-Raqqa by Harun al-Rashid and stayed there for a time; then he dismissed him from it. Then he travelled with him to al-Rayy and was appointed judge there, and he died there in the year one hundred and eighty-nine, aged fifty-eight, on the same day on which al-Kisa'i died. Al-Rashid said: Fiqh and Arabic have been buried in al-Rayy.
And he said: It is an ill-omened town; I entered it with fiqh and adab with me, and I left it with nothing with me.
[It is related that al-Kisa'i and Muhammad ibn al-Hasan met one day in a gathering, and al-Kisa'i said: Whoever becomes deeply versed in one science is guided to all the sciences. Muhammad said to him: What do you say of one who makes an error in the prostration of forgetfulness: does he prostrate again? He said: It is not valid. He said: Why? He said: Because the grammarians say: The diminutive is not made diminutive. Muhammad said: Then what do you say of making manumission conditional on ownership? He said: It is not valid. He said: Why? He said: Because the flood does not precede the rain.
Know that the questions of our school are in three classes:
The first class: the questions of the usul, which are the questions of zahir al-riwaya. They are the questions of the Mabsut of Muhammad, which has [several] recensions, the most famous and best known of them the recension of Abu Sulayman al-Juzjani; and it is called the Asl.
And the questions of the Jami' al-saghir, the questions of the Jami' al-kabir, the Siyar and the Ziyadat, all of them compositions of Muhammad ibn al-Hasan.
The Mabsut has other versions, among them the version of Shaykh al-Islam Abu Bakr known as Khwahar Zada, which is what is meant when one says: the version of Khwahar Zada; it is called Mabsut Shaykh al-Islam and al-Mabsut al-Bakri. Among them are the version of Shams al-A'imma al-Sarakhsi and the version of Shams al-A'imma al-Halwani.
Among the questions of zahir al-riwaya are the questions of the Kitab al-Muntaqa of al-Hakim al-Jalil al-Shahid, which is also a foundation for the school after the books of Muhammad ibn al-Hasan; it is not found in these times and in these lands.
The Kitab al-Kafi of al-Hakim al-Jalil is also one of the foundations of the school after the books of Muhammad. The shaykhs have commented on it, among them the commentary of Shams al-A'imma al-Sarakhsi and the commentary of Shaykh al-Islam 'Ali al-Qadi al-Isbijabi.
The second class of the questions of the schools: the questions of other than zahir al-riwaya. They are questions transmitted from the imams, but in books other than those mentioned: either in other books of Muhammad, such as the Kaysaniyyat, the Raqqiyyat, the Jurjaniyyat and the Haruniyyat (they are called other than zahir al-riwaya only because they did not become well known from Muhammad and were not transmitted from him by routes like the routes of the first books), or in books of someone other than Muhammad, such as the Mujarrad of al-Hasan ibn Ziyad.
Among them: the books of amali. Dictation (imla') is that the scholar sits with a group of pupils around him with inkwells and papers; the scholar speaks of what God Most High has opened to him of knowledge, and the pupils write (what he says, session by session); then they gather what they have written, and it becomes a book and is called al-Amali. This was a custom among our early companions.
Among them: the scattered transmissions, such as the transmission of Ibn Sama'a and other companions of Muhammad and others, of questions that differ from the usul; they are other than zahir al-riwaya and are counted among the nawadir, as one says: the Nawadir of Ibn Sama'a, the Nawadir of Hisham, the Nawadir of Rustam, and others.
The third class: the fatawa, also called waqi'at. They are questions that the later scholars derived — the companions of Muhammad, the companions of Muhammad's companions and the like, and those after them down to the end of the age of ijtihad — in cases for which no transmission from the three imams is found.
The first book in which these were collected, as far as is known, is the Nawazil, a book composed by the faqih Abu al-Layth Nasr ibn Muhammad ibn Ibrahim al-Samarqandi, known as Imam al-Huda. In it he collected the fatwas of the later scholars among his shaykhs, such as Muhammad ibn Muqatil al-Razi, Muhammad ibn Salama and Nusayr ibn Yahya, and he also mentioned his own preferences in it. It is a foundation for the waqi'at, other than the usul.
Then the shaykhs compiled books on it, such as the Majmu' al-nawazil, and the Waqi'at of al-Natifi and of al-Sadr al-Shahid, and others.
Then the shaykhs after them collected these classes in their fatwa collections, mixed and not distinguished, as in the Fatawa Qadi Khan, the Kitab al-Khulasa and other books of fatwas. Some of them distinguished them, as in the Kitab al-Muhit of the eminent shaykh Radi al-Din al-Sarakhsi, for in this book of his, the Muhit, he began with the questions of the usul first, then the nawadir, then the fatawa. How excellent he was, and how well he did!
Al-Qadi Zahir al-Din Muhammad ibn Ahmad al-Bukhari said in his Fatawa, at the beginning of the Book of Manumission: If someone said: The slaves of the people of Balkh are free, and did not intend his own slave; or said: Every slave on earth is free; or said: All the slaves of the people of the world are free; or if divorce took the place of manumission: the early and the later scholars differed. As for the early ones: Abu Yusuf said in his Nawadir: He [his slave] is not freed. Muhammad said in the Nawadir of Ibn Sama'a: He is freed. (As for the later ones: 'Isam ibn Yusuf said: He is not freed; and Shaddad said: He is freed.) Al-Sadr al-Shahid said: The view chosen for fatwa is that of 'Isam.
Al-Qadi Zahir al-Din also mentioned in the miscellaneous questions on oaths in his Fatawa: Muhammad mentioned in many places that if the literal meaning is abandoned and the figurative meaning is customary, the figurative meaning is what counts; but he did not state what he meant by "customary", and the shaykhs differed over it. The shaykhs of Balkh said: He means customary in practice; the shaykhs of Iraq said: He means customary in mutual understanding and speech; the shaykhs of Transoxiana said: Muhammad mentioned in the Jami' al-saghir a question indicating that what the shaykhs of Iraq said is the view of Abu Hanifa, and what the shaykhs of Balkh said is the view of Abu Yusuf and Muhammad.
The form of that question: if someone swears that he will not eat meat, and then eats human flesh or pork, he breaks his oath according to Abu Hanifa, because it is customary in mutual understanding and speech; according to the two of them he does not break it, because practice does not apply to it.]