أخبرنا أبو حفص عمر بن ابراهيم المقرىء قال ثنا مكرم قال ثنا احمد بن محمد بن مغلس قال ثنا ابن سماعة قال سمعت ابا يوسف يقول حج ابو حنيفة فوقعت بالكوفة مسألة الدور فسئل ابن شبرمة وابن أبي ليلى والثوري والناس بالكوفة فلم يكن عندهم فيها شيء فسئل أصحاب ابي حنيفة فلم يكن عندهم فيها جواب فقالوا ليس لها إلا ابو حنيفة فاشرأبت نفوسنا إلى قدومه حتى خفنا عليه وعلى أنفسنا وخفنا ان يعجز عن الجواب فيذهب قدره وقدرنا معه حتى تمنى بعضنا موته فلما قرب أبو حنيفة من الكوفة استقبلته وقلت اخبره بالمسألة لعله ان يعمل فكره فيها قبل ان يسأل عنها فلما لقيته قال يعقوب فحملني معه ثم جاء الناس وكثروا يستقبلونه فلم أقدر أن أقول له فيها شيئا ثم دعا بدابة فركب وحملني على دابة معه وحمل سائر الناس حولنا حتى ضاقت الطرقات فلما قدم وأتى المسجد صلى فيه ركعتين واجتمع الناس فكان اول شيء سئل عنه المسألة التي القيت من الدور قال فلما القيت عليه نكس رأسه قال فلما رأيته نكس رأسه علمت انها ستخرج ثم رفع رأسه فقال الجواب فيها كذا وكذا قال فسررنا وسر الناس قال فلما مات ابو حنيفة كنت يوما في دار الخيفة إذ مر بنا رجل جل فقالوا هذا الحاسب وجعل أصحاب الخليفة يعظمونه فدعوته وقلت باب من الفقه وكانت المسألة قد اضطرب علي منها شيء مما قاله أبو حنيفة فقلت إنا قد احتجنا فيه إلى الحساب قال فأخبرته قال اعمله من باب كذا وكذا فعملته فلم يخرج فقال باب كذا فعملته فلم يخرج فلم يزل يلقي علي الأبواب فلم يخرج فقال لم يبق إلا باب واحد فإن خرج وإلافليس له باب يخرج منه أصلا فذكر قول ابي حنيفة فعملت به فخرج فقلت ليست يخرج وخفت ان يذهب فيعمل عليه تلك المسألة قال فانصرفت فعملت الباب وعملت المسائل عليه وجعلت إذا لقيته فسألني اعمي عليه الجواب مخافة ان يفطن له وكان مفتنا حاسبا
أخبرنا أبو حفص عمر بن ابراهيم المقرىء قال ثنا مكرم قال ثنا احمد بن محمد بن مغلس قال ثنا ابن سماعة قال سمعت ابا يوسف يقول حج ابو حنيفة فوقعت بالكوفة مسألة الدور فسئل ابن شبرمة وابن أبي ليلى والثوري والناس بالكوفة فلم يكن عندهم فيها شيء فسئل أصحاب ابي حنيفة فلم يكن عندهم فيها جواب فقالوا ليس لها إلا ابو حنيفة فاشرأبت نفوسنا إلى قدومه حتى خفنا عليه وعلى أنفسنا وخفنا ان يعجز عن الجواب فيذهب قدره وقدرنا معه حتى تمنى بعضنا موته فلما قرب أبو حنيفة من الكوفة استقبلته وقلت اخبره بالمسألة لعله ان يعمل فكره فيها قبل ان يسأل عنها فلما لقيته قال يعقوب فحملني معه ثم جاء الناس وكثروا يستقبلونه فلم أقدر أن أقول له فيها شيئا ثم دعا بدابة فركب وحملني على دابة معه وحمل سائر الناس حولنا حتى ضاقت الطرقات فلما قدم وأتى المسجد صلى فيه ركعتين واجتمع الناس فكان اول شيء سئل عنه المسألة التي القيت من الدور قال فلما القيت عليه نكس رأسه قال فلما رأيته نكس رأسه علمت انها ستخرج ثم رفع رأسه فقال الجواب فيها كذا وكذا قال فسررنا وسر الناس قال فلما مات ابو حنيفة كنت يوما في دار الخليفة إذ مر بنا رجل جل فقالوا هذا الحاسب وجعل أصحاب الخليفة يعظمونه فدعوته وقلت باب من الفقه وكانت المسألة قد اضطرب علي منها شيء مما قاله أبو حنيفة فقلت إنا قد احتجنا فيه إلى الحساب قال فأخبرته قال اعمله من باب كذا وكذا فعملته فلم يخرج فقال باب كذا فعملته فلم يخرج فلم يزل يلقي علي الأبواب فلم يخرج فقال لم يبق إلا باب واحد فإن خرج وإلافليس له باب يخرج منه أصلا فذكر قول ابي حنيفة فعملت به فخرج فقلت ليست يخرج وخفت ان يذهب فيعمل عليه تلك المسألة قال فانصرفت فعملت الباب وعملت المسائل عليه وجعلت إذا لقيته فسألني اعمي عليه الجواب مخافة ان يفطن له وكان مفتنا حاسبا
Show English translation
Abu Hafs 'Umar ibn Ibrahim the reciter informed us: Makram narrated to us: Ahmad ibn Muhammad ibn Mughallis narrated to us: Ibn Sama'a narrated to us: I heard Abu Yusuf say: Abu Hanifa went on pilgrimage, and the problem of the houses arose in Kufa. Ibn Shubruma, Ibn Abi Layla, al-Thawri, and Kufa’s people were asked, but had nothing to offer. Abu Hanifa’s companions were asked, but had no answer. They said: Only Abu Hanifa can solve it. We yearned so eagerly for his arrival that we feared for him and ourselves. We feared he would be unable to answer, and his standing and ours would disappear together, until some of us wished him dead. When Abu Hanifa approached Kufa, I went to meet him, thinking: I will tell him the question so perhaps he can consider it before being asked. When I met him he said: Ya'qub! He took me along with him. Then many people came out to meet him, and I could not say anything about it. He called for a riding animal and mounted it, and put me on an animal with him. The other people rode around us until the roads became crowded. When he arrived, he came to the mosque and prayed two units. People gathered, and the first thing he was asked was the question that had arisen about the houses. When it was put to him he lowered his head. When I saw him lower his head, I knew that a solution would emerge. Then he raised his head and said: The answer is such-and-such. We and the people rejoiced. After Abu Hanifa died, I was one day in the caliph’s residence when a distinguished man passed us. They said: This is the mathematician. The caliph’s associates treated him with great respect. I called him over and put a jurisprudential topic to him. I had become uncertain about something Abu Hanifa had said in that problem, so I said: We have needed calculation for this. I explained it to him, and he said: Work it through such-and-such a method. I did, but it did not yield a solution. He proposed another method; I tried it, but it did not work. He kept proposing methods without obtaining a solution. He said: Only one method remains; if it works, well and good, otherwise there is absolutely no method that will solve it. He mentioned Abu Hanifa’s approach. I applied it and obtained the solution, but said: It does not work. I feared that he would go away and work that problem out by it. I then went away, developed the method, and worked problems through it. Whenever I met him and he asked me, I obscured the answer lest he perceive it. He was a versatile mathematician.
Abu Hafs 'Umar ibn Ibrahim the reciter informed us: Makram narrated to us: Ahmad ibn Muhammad ibn Mughallis narrated to us: Ibn Sama'a narrated to us: I heard Abu Yusuf say: Abu Hanifa went on pilgrimage, and the problem of the houses arose in Kufa. Ibn Shubruma, Ibn Abi Layla, al-Thawri, and Kufa’s people were asked, but had nothing to offer. Abu Hanifa’s companions were asked, but had no answer. They said: Only Abu Hanifa can solve it. We yearned so eagerly for his arrival that we feared for him and ourselves. We feared he would be unable to answer, and his standing and ours would disappear together, until some of us wished him dead. When Abu Hanifa approached Kufa, I went to meet him, thinking: I will tell him the question so perhaps he can consider it before being asked. When I met him he said: Ya'qub! He took me along with him. Then many people came out to meet him, and I could not say anything about it. He called for a riding animal and mounted it, and put me on an animal with him. The other people rode around us until the roads became crowded. When he arrived, he came to the mosque and prayed two units. People gathered, and the first thing he was asked was the question that had arisen about the houses. When it was put to him he lowered his head. When I saw him lower his head, I knew that a solution would emerge. Then he raised his head and said: The answer is such-and-such. We and the people rejoiced. After Abu Hanifa died, I was one day in the caliph’s residence when a distinguished man passed us. They said: This is the mathematician. The caliph’s associates treated him with great respect. I called him over and put a jurisprudential topic to him. I had become uncertain about something Abu Hanifa had said in that problem, so I said: We have needed calculation for this. I explained it to him, and he said: Work it through such-and-such a method. I did, but it did not yield a solution. He proposed another method; I tried it, but it did not work. He kept proposing methods without obtaining a solution. He said: Only one method remains; if it works, well and good, otherwise there is absolutely no method that will solve it. He mentioned Abu Hanifa’s approach. I applied it and obtained the solution, but said: It does not work. I feared that he would go away and work that problem out by it. I then went away, developed the method, and worked problems through it. Whenever I met him and he asked me, I obscured the answer lest he perceive it. He was a versatile mathematician.
People in this report (4)
- Abu Yusuf Ya'qub ibn Ibrahim Narrator
- Ahmad ibn Muhammad Narrator
- Muhammad ibn Sama'a Narrator
- Abu Hanifa al-Nu'man ibn Thabit Subject
Parallels in other books · 3
Reports in other books of the atlas whose Arabic wording overlaps with this one (three-word sequences in common). The overlap may lie in the chain of transmission alone, and says nothing on its own about who took it from whom.
- al-Makki · report 318 87% of the shorter text shares wording
- al-Qurtubi · report 343 80% of the shorter text shares wording
- al-Kardari · report 704 42% of the shorter text shares wording
Sources: Al-Afghani · pp. 27–28 / Baktash · pp. 56–57
- Al-Afghani edition (1985), pp. 27–28 · PDF page 27 · PDF page 28
- Baktash edition (2023), pp. 56–57 · PDF page 56 · PDF page 57
Both report texts and their locations have been checked against the supplied scans. Punctuation and spacing are lightly normalized; editorial dates and entry numbers are kept outside the report text.
Edition comparison
Main-text wording
The older printed account reads دار الخيفة, whereas Baktash prints دار الخليفة and records الخلافة for manuscript 914. The context is the residence associated with the caliph and his companions. Both episodes, before and after Abu Hanifa’s death, belong to the continuous account despite Baktash’s internal numbers 1 and 2.
Al-Afghani · 1985
دار الخيفة
Baktash · 2023
دار الخليفة
- Al-Afghani edition, pp. 27, 28.
- Baktash edition, pp. 56, 57.