Books › Ibn Hajar › No. 246

Ibn Hajar 246: Yahya ibn Aktham al-Tamimi al-Marwazi

Report 246Cairo (al-Khanji) 1418/1998 · Printed page 461, 462, 463, 464

Hanafi entries

246 Yahya ibn Aktham al-Tamimi al-Marwazi

يحيى بن أكثم بن محمد بن قطن بن سمعان بن مشنج بن عبد عمرو بن عبد العزى بن أكثم بن صيفي بن شريف التميمي الأسيدي المروزي أبو محمد نزيل بغداد حنفي ويقال شافعي من المائة الثالثة.

قال أبو عمر الكندي: ولاه المأمون قضاء مصر لما دخلها سنة سبع عشرة، فجلس يوم السبت لإحدى عشرة ليلة خلت من شهر المحرم منها، فقضى بين الناس. ويقال إنه لم يباشر القضاء بها سوى ثلاثة أيام، وتوجه صحبة المأمون إلى سخا، ثم رجع إلى مصر فحكم بها أيضا أياما، ثم رحل المأمون فرحل معه، وتشاغل المأمون بالحرب حتى خرج منها وخرج معه يحيى ولم يقرر فيها قاضيا بعد أن عرض عليه جماعة من أهلها، وعين علي بن معبد بن شداد فامتنع ولج في الامتناع.

وكان مولد يحيى بن أكثم في سنة [تسع وخمسين ومائة].

وسمع ببغداد ومكة وغيرهما من سفيان بن عيينة، وأبي بكر بن عياش، والفضل بن موسى المروزي وعبد الله بن المبارك، وحفص بن غياث.

روى عنه الترمذي في الجامع، والبخاري خارج الصحيح، وإسماعيل القاضي. وكان يبرئه مما يرميه به الناس من حب الولدان.

وكان أحمد يقول: ما عرفناه ببدعة. وذكر له ما يقال عنه فأنكر إنكارا شديدا. وقال: سبحان الله! من يقول هذا!.

قال ابن الجوزي: لما استخلف المتوكل وقبض على ابن أبي دواد صير يحيى بن أكثم في مرتبته وخلع عليه خمس خلع. فلم يزل إلى أن كان في صفر سنة سبع وثلاثين ومائتين. فعزل المتوكل يحيى بن أكثم من القضاء وقدم يعقوب بن قوصرة فأخذ من منزله خمسة وسبعين ألف دينار [وصولح] على أن يؤدي [تمام] ألف دينار وعشرين ألف دينار. وولي مكانه في قضاء بغداد جعفر بن عبد الواحد الهاشمي.

ويقال: إن سبب عزله قصته المتقدمة مع ابني مسعدة.

قال ابن الجوزي: وكان شاع عنه ذلك، يعني محبة الغلمان ولعله كان يقنع بالنظر حسب ما أسند عن أبي العيناء.

قال: وتولى يحيى بن أكثم ديوان الصدقات فلم يعط الأضراء شيئا، فطالبوه فمطلهم، فاجتمعوا فلما رأوه انصرف من مجلسه بجامع الرصافة سألوه وطالبوه فقال: ليس لكم عند أمير المؤمنين شيء. فقالوا له: إن جئتنا لأمير المؤمنين يزيدنا على هذا الجواب؟.

قال: لا. قالوا لا تفعل يا أبا سعيد! فقال: الحبس الحبس. فأخذوا وحبسوا - جميعا. فلما كان الليل ضجوا فسمع المأمون، فسأل: ما هذه الضجة؟ قالوا: الأضراء حبسهم يحيى بن أكثم. فقال: لم حبسهم؟ قالوا: كنوه فاستدعى به فقال: تحبسهم إذ أكنوك! قال: لا. إنما حبستهم على التعريض. قالوا لي: يا أبا سعيد وهي كنية شيخ مشهور باللواط من أهل الحربية.

وقال ابن الجوزي: أخبرنا محمد بن أبي طاهر، أخبرنا أبو الحسين بن المهتدي، أخبرنا أبو الفضل ابن المأمون، حدثنا أبو بكر ابن الأنباري، حدثنا ابن المرزبان، قال حدثنا الحسن بن المقدام قال: استعدى ابن عمار ابن أبي الخصيب [يحيى بن أكثم] على ورثة أبيه، وكان بارع الجمال [فقال: أيها القاضي أعدني عليهم] فقال له يحيى بن أكثم فمن يعديني [أنا على عينيك؟]. قال فبلغ ذلك أم الصبي فهربته إلى بغداد [فقال لها وقد تقدمت إليه: والله لا أنفذت لكم حكما أو ترديه فهو أولى بالمطالبة منك] واتفق أن يحيى بن أكثم خرج إلى مكة فحج وعزم على المجاورة فبلغه أن قلب المتوكل صلح له فخرج يريد العراق فمات بالربذة ودفن هناك وذلك في سنة ثلاث وأربعين وقيل في التي قبلها.

وذكر الحاكم عن عبيد الله بن محمد بن عبد الرحمن الضبي عن الحسن بن محمد الكاتب عن بشر بن الوليد قال: قال لي المأمون إذا أردت العفيف فذكر رجلا ثم قال وأما يحيى بن أكثم فما أدري ما عيبه. أما ظاهره فأعف خلق الله تعالى.

وقال أبو الفرج في الأغاني: أخبرني محمد بن العباس اليزيدي، حدثني عمي عبيد الله قال: زامل المأمون في بعض أسفاره بين يحيى بن أكثم وعبادة المضحك فقال عمي إبراهيم:

وحاكم زامل عباده ۞ ولم تزل تلك له عاده

لو جاز لي حكم لما جاز أن ۞ يحكم في قيمته لباده

كم من غلام عز في أهله ۞ وافت قفاه منه سجاده

قال وأخبرني عمي، حدثنا أبو العيناء، قال: نظر المأمون إلى يحيى بن أكثم يلحظ خادما له، فلما قام إلى المستراح قال للخادم: تعرض له وأخبرني بما يقول لك. وتوجه المأمون وقعد يحيى إلى أن يجيء. فلما غاب المأمون غمز الخادم يحيى بعينه فقال يحيى «لولا أنتم لكنا مؤمنين» فلما خرج المأمون أخبره فقعد المأمون للوضوء واستدبر يحيى وقال للخادم: قل له «أنحن صددناكم عن الهدى» الآية.

فقالها له. ففهم أنها من المأمون فكاد يموت فزعا، ففرغ المأمون من صلاته ثم التفت إلينا وهو يقول:

متى تصلح الدنيا ويصلح أهلها. البيت.

ومن كلام يحيى بن أكثم قال له رجل: أصلح الله القاضي كم آكل؟ قال: فوق الجوع ودون الشبع. قال: فكم أضحك؟ قال: حتى يسفر وجهك، ولا يعلو صوتك. قال: فكم أبكي؟ قال: لا تمل من البكاء من خشية الله. قال: فكم أخفي [من] عملي؟ قال: ما استطعت. قال: فكم أظهر منه قال: ما يقتدي بك [البر] الخير، ويؤمن عليك قول الناس. فقال [الرجل]: سبحان الله! قول قاطن، وعمل ظاعن.

Included: Ibn Hajar calls him a Hanafi, or, it is said, a Shafi'i; judge in Egypt briefly in 217 for al-Ma'mun, later chief judge in Baghdad; also in the register (p-9503edbbfe26, named in many Hanafi works).

Show English translation

Yahya ibn Aktham ibn Muhammad ibn Qatan ibn Sim'an ibn Mushannaj ibn 'Abd 'Amr ibn 'Abd al-'Uzza ibn Aktham ibn Sayfi ibn Sharif al-Tamimi al-Usaydi al-Marwazi, Abu Muhammad, resident in Baghdad; a Hanafi, and it is said a Shafi'i; of the third century.

Abu 'Umar al-Kindi said: Al-Ma'mun appointed him to the judgeship of Egypt when he entered it in the year seventeen. He sat on Saturday, the eleventh of the month of al-Muharram of that year, and judged between the people. It is said that he exercised the judgeship there for no more than three days. He went with al-Ma'mun to Sakha, then returned to Egypt and judged there for a few more days; then al-Ma'mun departed and he departed with him. Al-Ma'mun was occupied with the war until he left the country, and Yahya left with him; he did not install a judge there, after a number of its people had been presented to him; he named 'Ali ibn Ma'bad ibn Shaddad, who refused and persisted in refusing.

Yahya ibn Aktham was born in the year [one hundred and fifty-nine].

He heard in Baghdad, Mecca and elsewhere from Sufyan ibn 'Uyayna, Abu Bakr ibn 'Ayyash, al-Fadl ibn Musa al-Marwazi, 'Abd Allah ibn al-Mubarak and Hafs ibn Ghiyath.

Al-Tirmidhi related from him in al-Jami', al-Bukhari outside the Sahih, and Isma'il the judge, who used to clear him of what people accused him of, the love of boys.

Ahmad used to say: We did not know him to hold any innovation. What was said about him was mentioned to him, and he denied it strongly and said: Glory be to God! Who says this?

Ibn al-Jawzi said: When al-Mutawakkil became caliph and arrested Ibn Abi Du'ad, he put Yahya ibn Aktham in his rank and invested him with five robes. He remained until Safar of the year two hundred and thirty-seven; then al-Mutawakkil dismissed Yahya ibn Aktham from the judgeship. Ya'qub ibn Qawsara came and took from his house seventy-five thousand dinars, [and a settlement was made] that he should pay [the rest of] a thousand dinars and twenty thousand dinars (so printed). In his place Ja'far ibn 'Abd al-Wahid al-Hashimi was appointed to the judgeship of Baghdad.

It is said that the cause of his dismissal was his story with the two sons of Mas'ada mentioned before.

Ibn al-Jawzi said: That had been spread about him – meaning the love of boys – and perhaps he contented himself with looking, according to what he related with a chain from Abu al-'Ayna'.

He said: Yahya ibn Aktham was in charge of the office of alms, and he gave the blind nothing. They asked him and he put them off. They gathered, and when they saw him leaving his session in the mosque of al-Rusafa they asked him and pressed him. He said: You have nothing with the Commander of the Faithful. They said to him: If you brought us to the Commander of the Faithful, would he give us more than this answer?

He said: No. They said: Do not do it, Abu Sa'id! He said: To prison, to prison! And they were all seized and imprisoned. When night came they raised an outcry, and al-Ma'mun heard it and asked: What is this outcry? They said: The blind, whom Yahya ibn Aktham has imprisoned. He said: Why did he imprison them? They said: They called him by a kunya. He summoned him and said: You imprison them because they called you by a kunya! He said: No; I imprisoned them only for the insinuation. They said to me: O Abu Sa'id – and that is the kunya of a shaykh of al-Harbiyya notorious for sodomy.

Ibn al-Jawzi said: Muhammad ibn Abi Tahir informed us: Abu al-Husayn ibn al-Muhtadi informed us: Abu al-Fadl Ibn al-Ma'mun informed us: Abu Bakr Ibn al-Anbari related to us: Ibn al-Marzuban related to us: he said: al-Hasan ibn al-Miqdam related to us: he said: Ibn 'Ammar ibn Abi al-Khasib sought redress [from Yahya ibn Aktham] against the heirs of his father; he was of outstanding beauty. [He said: O judge, give me redress against them.] Yahya ibn Aktham said to him: Then who will give me redress [against your eyes?] He said: This reached the boy's mother, and she made him flee to Baghdad. [He said to her, when she came before him: By God, I will not execute any judgment for you until you bring him back, for he has the better right to make the claim than you.] It happened that Yahya ibn Aktham went to Mecca, performed the pilgrimage and resolved to stay there; then he heard that al-Mutawakkil's heart had become well disposed towards him, and he set out for Iraq and died at al-Rabadha, and was buried there. That was in the year forty-three, and it is said in the year before.

Al-Hakim mentioned, from 'Ubayd Allah ibn Muhammad ibn 'Abd al-Rahman al-Dabbi, from al-Hasan ibn Muhammad the secretary, from Bishr ibn al-Walid: he said: Al-Ma'mun said to me: If you want the chaste one – and he mentioned a man; then he said: As for Yahya ibn Aktham, I do not know what his fault is; as for his outward appearance, he is the most chaste of God's creatures.

Abu al-Faraj said in al-Aghani: Muhammad ibn al-'Abbas al-Yazidi informed me: my uncle 'Ubayd Allah related to me: he said: On one of his journeys al-Ma'mun paired Yahya ibn Aktham and 'Abbada the jester in one camel litter, and my uncle Ibrahim said:

And a judge who shared a litter with 'Abbada – / and that has always been his habit;

If I had the right to judge, it would not be allowed / that he should judge (even) on the value of a piece of felt;

How many a boy, honoured among his family, / has had his prayer mat come to rest on the back of his neck!

He said: And my uncle informed me: Abu al-'Ayna' related to us: he said: Al-Ma'mun saw Yahya ibn Aktham glancing at a servant of his. When he rose to go to the privy, he said to the servant: Present yourself to him and tell me what he says to you. Al-Ma'mun went out, and Yahya sat waiting for him to come back. When al-Ma'mun was gone, the servant winked at Yahya, and Yahya said: «Were it not for you, we would have been believers.» When al-Ma'mun came out, he told him. Al-Ma'mun sat down to perform his ablutions, turned his back on Yahya and said to the servant: Say to him: «Was it we who turned you away from the guidance»? – the verse.

He said it to him; and he understood that it came from al-Ma'mun, and almost died of fright. Al-Ma'mun finished his prayer, then turned to us and said:

When will the world be put right, and its people be put right … – the line of verse.

Among the sayings of Yahya ibn Aktham: a man said to him: May God set the judge right, how much should I eat? He said: Above hunger and below satiety. He said: How much should I laugh? He said: Until your face brightens, without your voice rising. He said: How much should I weep? He said: Do not tire of weeping out of fear of God. He said: How much [of] my works should I conceal? He said: As much as you can. He said: How much of it should I show? He said: As much as the [pious] good man may follow your example in, and you are safe from people's talk. [The man] said: Glory be to God! Words that stay, and deeds that depart.

Provisional: a word is not yet securely read; see the marks [?].

People in this report (3)
Source · Cairo (al-Khanji) 1418/1998, vol. 1, p. 461–464 · Entry 246

Ibn Hajar al-'Asqalani, Raf' al-isr 'an qudat Misr, ed. 'Ali Muhammad 'Umar, Cairo: Maktabat al-Khanji, 1st ed., 1418 AH (1998), 1 vol.

From this work only the entries on Hanafi scholars, and on scholars recorded in the Hanafi sources, are included.

Cite this report

Text

Ibn Hajar, Raf' al-isr 'an qudat Misr, no. 246, in: Hanafi Biographical Atlas, ed. Nawid (2026), https://www.hanafiatlas.com/reports/rafalisr/246

BibTeX

@misc{hba-reportsrafalisr246,
  title = {Raf' al-isr 'an qudat Misr, no. 246},
  author = {Ibn Hajar},
  editor = {Nawid},
  howpublished = {Hanafi Biographical Atlas},
  year = {2026},
  url = {https://www.hanafiatlas.com/reports/rafalisr/246}
}

RIS

TY  - ELEC
TI  - Raf' al-isr 'an qudat Misr, no. 246
AU  - Ibn Hajar
ED  - Nawid
T2  - Hanafi Biographical Atlas
PY  - 2026
UR  - https://www.hanafiatlas.com/reports/rafalisr/246
ER  - 

Source and text notes

Search the atlas