وذكر بعض فقهاء فاس للسلطان أبي عنان أنه غير متبحر في الفقه حسدا، فبعث السلطان حينئذ للفقهاء فحضروا وأمره بقراءة حديث "إذا ولغ الكلب في إناء أحدكم" يختبر به حاله في الفقه، فأخذ فيها من غير نظر فأول ما قال: في هذا الحديث خمس وعشرون فرقة فسردها، ثم تكلم على أخذها من الحديث وترجيح ما رجح كأنه يمليها من كتاب، فلما رأى السلطان ذلك أقبل على الطاعنين وقال لهم: هذا الذي قلتم أنه قاصر في الفقه، وكان لكلامه حلاوة ورونق وطلاوة، قوة علمه فيه ظاهرة وأنواره باهرة.
One of the jurists of Fas, out of envy, mentioned to Sultan Abu ʿInan that he was not deeply versed in fiqh. The Sultan then sent for the jurists, and they attended, and he ordered him to read the hadith "When a dog laps in the vessel of one of you", testing his state in fiqh by it. He took it up without preparation, and the first thing he said was: In this hadith there are twenty-five divisions [?]; and he listed them. Then he spoke on deriving them from the hadith and on weighing what he preferred, as though he were dictating them from a book. When the Sultan saw that, he turned to the detractors and said to them: This is the one you said was deficient in fiqh! His speech had sweetness, splendour and grace; the strength of his learning in it was evident and its lights dazzling.
ألف في أصول الفقه مفتاح الأصول في بناء الفروع على الأصول طبق منه مسائل الفقه مع الأصول، من أعلم الناس بالعربية وعلوم الأدب نحوا وبيانا، حافظا للغة والغريب والشعر والأمثال وأخبار الناس ومذاهبهم وأيام العرب وسيرها وحروبها وأخبار الصالحين وسيرهم، وإشارات الصوفية ومذاهبهم، حسن المجلس كثير الحكايات ممتع المحضر عذب الكلام منصفا في البحث والمناظرة، كثير البسط بلا عار ولا سرف، خبيرا بأخبار النفس وتزكيتها وتطهيرها مذللا صعاب الأمور إماما في العلوم العقلية كلها منطقا وحسابا وفرائض وتنجيما وهندسة وموسيقا وتشريحا وفلاحة وكثيرا من العلوم القديمة.
He composed on usul al-fiqh Miftah al-usul fi binaʾ al-furuʿ ʿala al-usul, in which he matched the questions of fiqh with the usul. He was among the most knowledgeable of people in Arabic and the literary sciences, grammar and rhetoric; knowing by heart lexicography, rare words, poetry, proverbs, the reports of people and their ways, the battle-days of the Arabs, their histories and their wars, the reports of the righteous and their lives, and the allusions of the Sufis and their ways. He was of fine company, rich in anecdotes, delightful in presence, sweet in speech, fair in discussion and debate, very affable without disgrace or excess, expert in the states of the soul, its purification and cleansing, smoothing difficult matters; an imam in all the rational sciences: logic, arithmetic, the shares of inheritance, astrology, geometry, music, anatomy, agriculture and many of the ancient sciences.
شرح جمل الخونجي من أجل كتب الفن، انتفع به العلماء قراءة ونسخا وتأليفا في المعاوضات، وكان قليل التأليف أكثر اعتنائه بالإقراء تخرج به من صدور العلماء وأعيان الفضلاء ونجباء الأولياء من لا يحصى، وكان مهيبا محببا، جعل الله محبته في القلوب، من رآه أحبه وإن لم يعرفه، يجله الملوك فيقدمونه في مجالسهم يلاطفهم تارة ويفصح بالحق تارة وينصر المظلوم ويقضي الحوائج.
His commentary on the Jumal of al-Khunaji is among the most eminent books of the discipline; scholars benefited from it by reading, copying and composing on the muʿawadat [?]. He wrote little; most of his care was for teaching. A countless number of the foremost scholars, notable men of virtue and excellent saints graduated through him. He was awe-inspiring and beloved; God placed love of him in the hearts, and whoever saw him loved him, even if he did not know him. Kings revered him and gave him precedence in their councils; he was gentle with them at times and spoke the truth plainly at times; he helped the wronged and fulfilled needs.
وقال لبعض اللوك، وقد أمر بضرب فقيه: إن كان عندك صغير فهو
He said to one of the kings, who had ordered a jurist to be beaten: If he is small in your eyes, he is