422- محمد بن إبراهيم المهري من أهل بجاية وهو من بني مرزقان من أهل إشبيلية يكنى أبا عبد الله رحل إلى المشرق ولقي جماعة وافرة من حملة الحديث ولم يسمع إلا يسيرا بمصر وانصرف ولم يحج وولي قضاء بجاية ثلاث مرات صرف عن أخراها سنة 608 بأبي محمد بن حجاج ودخل الأندلس مرارا وولي قضاء مرسية منها واستخلف بمراكش على القضاء وكان علم وقته علما وكمالا وتفننا يتحقق بعلم الكلام وأصول الفقه حتى شهر بالأصولي واعتنى بإصلاح المستصفى لأبي حامد الغزالي وإزالة ما كان فيه من تصحيف وله عليه تقييد مفيد وامتحن بقرطبة سنة ثلاث وتسعين هو وأبو الوليد بن رشد محنتهما المشهورة من أجل نظرهما في علوم الأوائل فتحدث الناس بصبره في ذلك المقام وتجلده وثبوت جأشه وكف بصره بأخرة من عمره أخذ عنه أبو محمد بن حوط الله سمع عليه الإرشاد لأبي المعالي الجويني وحدثني أبو عامر بن نذير أنه استجازه فقال له قد أبحت لك ما سألت فاجتهد بالإجادة لما فاتك وتوفي ببجاية مصروفا عن القضاء بين عيدي الفطر والأضحى سنة 612
422. Muhammad ibn Ibrahim al-Mahri, of the people of Bijaya; he was of the Banu Marzaqan of the people of Ishbiliya; his kunya was Abu ʿAbd Allah. He travelled to the East and met a great number of the bearers of hadith, but heard only a little, in Misr, and went back without performing the pilgrimage. He was appointed qadi of Bijaya three times, being dismissed from the last of them in the year 608 in favour of Abu Muhammad ibn Hajjaj. He entered al-Andalus several times and was appointed qadi of Mursiya there, and he was deputy in the judgeship in Marrakush. He was the outstanding scholar of his time in knowledge, perfection and versatility, with mastery of kalam and the principles of jurisprudence, so that he became famous as al-Usuli. He devoted himself to correcting al-Mustasfa of Abu Hamid al-Ghazali and removing the corruptions of script in it, and he has a useful note on it. He was put to trial in Qurtuba in the year ninety-three, he and Abu l-Walid ibn Rushd, in their famous ordeal, on account of their study of the sciences of the ancients; and people spoke of his patience in that situation, his endurance and his composure. He lost his sight late in his life. Abu Muhammad ibn Hawt Allah took from him, hearing from him al-Irshad of Abu l-Maʿali al-Juwayni. Abu ʿAmir ibn Nadhir told me that he asked him for an ijaza, and he said to him: I have permitted you what you asked; so strive to master well what you have missed. He died in Bijaya, dismissed from the judgeship, between the two feasts of al-Fitr and al-Adha in the year 612.