From Abu Yusuf, that he said: Abu Hanifa said to me: When I wanted to seek knowledge, I began choosing among the sciences and asking about their outcomes. I was told: Learn the Qur'an.
I said: If I learn the Qur'an and memorise it, what will be its end?
They said: You will sit in the mosque, and boys and youths will recite to you; then before long one of them will emerge who has a better memory than you, or equals you in memory, and your leadership will be gone.
I said: And if I hear hadith and write it down until there is no one in the world with a better memory than I?
They said: When you grow old and weak, you will narrate, and the youths and boys will gather around you; then you will not be safe from making a mistake, and they will accuse you of lying, and it will become a disgrace upon you among your descendants.
I said: I have no need of this.
I said: And if I master Arabic and learn grammar, what will be the end of my affair?
They said: You will sit as a schoolteacher, and the most your livelihood will be is two dinars up to three.
I said: And this has no [good] outcome.
I said: And if I apply myself to poetry, and there is no one a better poet than I, what will be the end of my affair?
They said: You will praise this one and he will give you a gift, or mount you on a riding animal, or bestow a robe of honour on you; and if he deprives you, you will lampoon him, and you will end up slandering chaste women.
I said: I have no need of this.
I said: And if I apply myself to kalam, what will be its end?
They said: Whoever applies himself to kalam is not safe from the scandalous things of kalam, and he is accused of heresy (zandaqa); then either he is seized and killed, or he remains safe and is censured and blamed.
I said: And if I learn fiqh?
They said: You will be asked, you will give fatwas to the people, and you will be sought for the judgeship, even though you are young.
I said: There is nothing among the sciences more beneficial than this. So I devoted myself to fiqh and learned it.
From Zufar ibn al-Hudhayl, who said: I heard Abu Hanifa say: I used to apply myself to kalam, until I reached a level in it at which people pointed to me with their fingers. We used to sit near the circle of Hammad ibn Abi Sulayman. One day a woman came to me and said: A man has a wife who is a slave woman, and he wants to divorce her according to the sunna; how should he divorce her?
I did not know what to say, so I told her to ask Hammad, then come back and inform me.
She asked Hammad, and he said: He divorces her with a single pronouncement while she is pure of menstruation and of intercourse, then he leaves her until she has menstruated twice; when she has performed the ritual bath, she becomes lawful for [other] husbands.
She came back and informed me, and I said: I have no need of kalam. I took my sandals and sat with Hammad. I used to listen to his questions and memorise what he said; then he would repeat them the next day, and I would have memorised [them] while his companions made mistakes. So he said: No one shall sit at the head of the circle facing me except Abu Hanifa. I kept his company for ten years.
Then my soul tempted me to seek leadership, and I wanted to withdraw from him and sit in a circle of my own. One evening I went out resolved to do so, but when I entered the mosque and saw him, my soul was not content to withdraw from him, so I came and sat with him. That night news reached him of the death of a relative of his who had died in Basra, leaving property and having no heir other than him. He told me to sit in his place. No sooner had he left than questions came to me that I had not heard from him, and I would answer and write down my answer. He was absent for two months, then he came back, and I put the questions before him; they were about sixty questions. He agreed with me on forty and disagreed with me on twenty. So I swore to myself that I would not leave him until he died, and I did not leave him until he died.
It is related from Abu Hanifa that he said: I came to Basra and thought that I would not be asked about anything without answering it. They asked me about things for which I had no answer, so I made it binding on myself not to leave Hammad until he died, and I kept his company for eighteen years.
From Ibn Sama'a, that he said: I heard Abu Hanifa say: I have not prayed a prayer since Hammad died without asking forgiveness for him along with my parents, and I ask forgiveness for anyone from whom I learned knowledge or whom I taught knowledge.
From Yunus ibn Bukayr, that he said: I heard Isma'il ibn Hammad ibn Abi Sulayman say: My father was absent on a journey of his, then he came back, and I said to him: Father, what were you most longing for?
He said: And I thought he would say: for my son.
But he said: For Abu Hanifa; and if I could manage never to take my eyes off him, I would do so.
From Abu Muti' al-Balkhi, that he said: Abu Hanifa said: I went in to Abu Ja'far, the Commander of the Faithful, and he said: Abu Hanifa, from whom did you take knowledge?
He said: I said: From Hammad, from Ibrahim, from 'Umar ibn al-Khattab, 'Ali ibn Abi Talib, 'Abd Allah ibn Mas'ud and 'Abd Allah ibn 'Abbas.
He said: Abu Ja'far said: Excellent, excellent! You have made yourself as secure as you wished, Abu Hanifa, [taking] from the good and blessed ones, God's blessings be upon them.
From Ibn Abi Uways, who said: I heard al-Rabi' ibn Yunus say: Abu Hanifa went in one day to al-Mansur, while 'Isa ibn Musa was with him, and he said to al-Mansur: This is the scholar of the world today.
So he said to him: Nu'man, from whom did you take knowledge?
He said: From the companions of 'Umar from 'Umar, from the companions of 'Ali from 'Ali, and from the companions of 'Abd Allah from 'Abd Allah; and in the time of Ibn 'Abbas there was no one on the face of the earth more learned than he.
He said: You have indeed made yourself secure.
It is related from Abu Hanifa that he said: I saw a dream that frightened me: I saw as if I were digging open the grave of the Prophet, may God bless him and grant him peace. So I went to Basra and told a man to ask Muhammad ibn Sirin. He asked him, and he said: This is a man who will dig up the reports of the Messenger of God, may God bless him and grant him peace.
In one version he said: The one who saw this dream will stir up knowledge to which no one before him has preceded him.
Hisham said: So Abu Hanifa applied himself [to knowledge], and spoke [publicly] at that time. And God Most High knows best.