بالإمام خاتمة العلماء المحققين والأئمة الأعلام المجتهدين الحافظ النظار، كان واسع الباع في العلم والاطلاع مع ذهن ثاقب ورسوخ تام بلغ درجة الاجتهاد وبلغ من العمر نيفا وثمانين سنة ولم يفت بغير مشهور مذهب مالك وكان رحمه الله كثير الحكايات عن الصالحين في مجالسه ويقول هي جند من جنود الله تعالى، أخذ عن أبي الحسن اللخمي وعبد الحميد الصائغ وغيرهما وعنه من لا يعد كثرة منهم أبو محمد عبد السلام البرجيني وأبو عبد الله محمد بن عبد الرحيم يعرف بابن الفرس وأبو عبد الله بن تومرت وأبو عبد الله الشلبي وأبو الحسن صالح بن أبي القاسم بن عامر وأبو الحسن علي المعروف بابن المقرئ وأبو زكريا يحيى بن الحداد وأبو الحسن بن صاعد وأبو مروان بن عيشون وأبو الحسن المعروف بابن الأوجقي وأبو الطاهر بن مجكان وأبو الطاهر بن الدمنة التونسي، وبالإجازة أبو محمد المعروف بابن عبيد الله وأبو بكر بن أبي جمرة وأبو بكر بن خير وابن رشد المفيد والقاضي عياض وعبد المنعم بن الفرس ووالده وابن قرقول وأبو بكر بن أبي العيش وأبو القاسم ابن القاضي الشهيد المعروف بابن الحاج، له تآليف تدل على فضله وتبحره في العلوم منها شرح التلقين ليس للمالكية مثله وشرح البرهان لأبي المعالي سماه إيضاح المحصول من برهان الأصول وشرحه لهذين الكتابين يدل على أنه بلغ درجة الاجتهاد والمعلم في شرح صحيح مسلم. قال ابن خلدون: اشتمل على عيون من علم الحديث وفنون من الفقه وحكى ابن عيشون المذكور أنه سمع الإمام يقول: كان السبب في تأليفه أنه قرئ على صحيح مسلم في رمضان فتكلمت على نقط منه فلما انتهت قراءته عرض على الأصحاب ما أمليته فنظرت فيه وهذبته انتهى باختصار، وكتابه الكبير وهو كتاب التعلقة على المدونة وكتاب الرد على الأحياء للغزالي المسمى بالكشف والأنباء على المترجم بالأحياء وتعليق على رد أحاديث الجوزقي وإملاء على رسائل إخوان الصفا والنكت القطعية في الرد على الحشوية والذين يقولون بقدم الأصوات والحروف والواضح في قطع لسان الكلب النابح وكشف الغطا عن لمس الخطا وغير ذلك وله الفتاوى والرسائل الكثيرة وكان إماما في الطب وألف فيه في حكايته مشهورة وكان يفزع إليه في الطب كما يفزع إليه في الفتوى، مات في ربيع الأول سنة 536 ه بالمهدية ودفن بالمنستير ولما خشي على قبره من البحر نقل لمقامه المشهور به إلى هذا الوقت والشائع عند أهل المنستير أنه لما نقل وجد جسده المكرم لم يتغير ومنقوش بحجر فوق باب مقامه المذكور محل الحافة منه {يرفع الله الذين آمنوا منكم والذين أوتوا العلم درجات} أسس هذا المقام على ضريحي الشيخين الإمامين العالمين أبوي عبد الله محمد المازري ومحمد بن المواز
as al-Imam; the seal of the verifying scholars and of the eminent mujtahid imams, the hafiz, the disputant. He had a wide reach in knowledge and in learning, with a piercing mind and complete firmness; he reached the rank of ijtihad. He reached an age of some eighty years, and he never gave a fatwa by other than the well-known [doctrine] of the madhhab of Malik. He (God have mercy on him) used to tell many stories of the righteous in his sessions, and he would say: They are one of the armies of God Most High. He took from Abu l-Hasan al-Lakhmi, ʿAbd al-Hamid al-Saʾigh and others, and from him [took] others too many to count, among them Abu Muhammad ʿAbd al-Salam al-Burjini, Abu ʿAbd Allah Muhammad ibn ʿAbd al-Rahim, known as Ibn al-Faras, Abu ʿAbd Allah ibn Tumart, Abu ʿAbd Allah al-Shilbi, Abu l-Hasan Salih ibn Abi l-Qasim ibn ʿAmir, Abu l-Hasan ʿAli, known as Ibn al-Muqriʾ, Abu Zakariyyaʾ Yahya ibn al-Haddad, Abu l-Hasan ibn Saʿid, Abu Marwan ibn ʿAyshun, Abu l-Hasan, known as Ibn al-Awjaqi, Abu l-Tahir ibn Mijkan and Abu l-Tahir ibn al-Dumna al-Tunisi; and by ijaza Abu Muhammad, known as Ibn ʿUbayd Allah, Abu Bakr ibn Abi Jamra, Abu Bakr ibn Khayr, Ibn Rushd al-Mufid, the Qadi ʿIyad, ʿAbd al-Munʿim ibn al-Faras and his father, Ibn Qurqul, Abu Bakr ibn Abi l-ʿAysh, and Abu l-Qasim, son of the martyred Qadi, known as Ibn al-Hajj. He has works that show his excellence and his vast learning in the sciences, among them the commentary on al-Talqin, the like of which the Malikis do not have; the commentary on al-Burhan of Abu l-Maʿali, which he called Idah al-mahsul min Burhan al-usul — and his commentary on these two books shows that he reached the rank of ijtihad —; and al-Muʿlim, on the commentary of the Sahih of Muslim. Ibn Khaldun said: It contains the choicest parts of the science of hadith and various arts of fiqh. The aforementioned Ibn ʿAyshun related that he heard the Imam say: The cause of its composition was that the Sahih of Muslim was read to me in Ramadan, and I spoke on points of it; when its reading was finished, the companions presented to me what I had dictated, and I looked into it and revised it. End, in abridgement. [Among his works are] his large book, which is Kitab al-Taʿliqa ʿala l-Mudawwana; the book of refutation of the Ihyaʾ of al-Ghazali, called al-Kashf wa-l-anbaʾ ʿala l-mutarjam bi-l-Ihyaʾ; a taʿliq on the refutation of the hadiths of al-Jawzaqi; a dictation on the Epistles of the Brethren of Purity (Rasaʾil Ikhwan al-Safaʾ); al-Nukat al-qatʿiyya fi l-radd ʿala l-Hashwiyya wa-lladhina yaquluna bi-qidam al-aswat wa-l-huruf; al-Wadih fi qatʿ lisan al-kalb al-nabih; Kashf al-ghita ʿan lams al-khata; and other things; and he has many fatwas and epistles. He was an imam in medicine and composed [a work] on it, in a well-known story of his [?]; and people had recourse to him in medicine as they had recourse to him in fatwa. He died in Rabiʿ I of the year 536 AH in al-Mahdiyya and was buried in al-Munastir. When it was feared that the sea would reach his grave, he was moved to his shrine (maqam), which is known by him to this time; and it is commonly held among the people of al-Munastir that when he was moved, his honoured body was found unchanged. Engraved on a stone above the door of his aforementioned shrine, at the place of its edge [?], is: "God will raise those of you who believe and those who have been given knowledge by degrees." This shrine was founded over the tombs of the two shaykhs, the two learned imams, the two Abu ʿAbd Allahs, Muhammad al-Mazari and Muhammad ibn al-Mawwaz,