قال صاحب الصلة: وجمع من الحديث كثيرا وله عناية كبيرة به واهتمام بجمعه وتقييده وهو من أهل التفنن في العلم واليقظة والفهم وبعد عوده من الأندلس أجلسه أهل سبتة للمناظرة عليه في المدونة وهو بن ثلاثين سنة أو ينيف عنها ثم أجلس للشورى ثم ولي قضاء بلده مدة طويلة حمدت سيرته فيها ثم نقل إلى قضاء غرناطة في سنة إحدى وثلاثين وخمسمائة ولم يطل أمره بها ثم ولي قضاء سبتة ثانيا.
The author of al-Sila said: He collected much hadith, and had great care for it and concern with collecting and recording it. He was one of the people of versatility in learning, of alertness and understanding. After his return from al-Andalus, the people of Sabta seated him for disputation on the Mudawwana, when he was thirty years old or a little more; then he was seated for consultation (shura); then he held the judgeship of his town for a long period, in which his conduct was praised; then he was transferred to the judgeship of Gharnata in the year 531, and his tenure there was not long; then he held the judgeship of Sabta a second time.
قال صاحب الصلة: وقدم علينا قرطبة فأخذنا عنه بعض ما عنده. قال بن الخطيب: وبنى الزيادة الغربية في الجامع الأعظم وبنى في جبل المينا الراتبة الشهيرة وعظم صيته ولما ظهر أمر الموحدين بادر إلى المسابقة بالدخول في طاعتهم ورحل إلى لقاء أميرهم بمدينة سلا فأجزل صلته وأوجب بره - إلى أن اضطربت أمور الموحدين عام ثلاثة وأربعين وخمسمائة فتلاشت حاله ولحق بمراكش مشردا به عن وطنه فكانت بها وفاته.
The author of al-Sila said: He came to us in Qurtuba, and we took from him some of what he had. Ibn al-Khatib said: He built the western extension in the great congregational mosque, and built on Jabal al-Mina the famous watch-post (ratiba), and his fame grew great. When the cause of the Almohads appeared, he hastened to be among the first to enter into obedience to them, and travelled to meet their emir in the city of Sala, who gave him a generous gift and treated him with kindness — until the affairs of the Almohads were thrown into disorder in the year 543; then his situation fell apart, and he went to Marrakush, driven from his homeland, and there he died.
وله التصانيف المفيدة البديعة منها: إكمال المعلم في شرح صحيح مسلم
He has useful and original works, among them: Ikmal al-muʿlim fi sharh Sahih Muslim;
ومنها: كتاب الشفا بتعريف حقوق المصطفى صلى الله عليه وسلم أبدع فيه كل الإبداع وسلم له اكفاؤه كفايته فيه ولم ينازعه أحد من الانفراد به ولا أنكروا مزية السبق إليه بل تشوفوا للوقوف عليه وأنصفوا في الاستفادة منه وحمله الناس عنه وطارت نسخه شرقا وغربا وكتاب مشارق الأنوار في تفسير غريب حديث الموطأ والبخاري ومسلم وضبط الألفاظ والتنبيه على مواضع الأوهام والتصحيفات وضبط أسماء الرجال وهو كتاب لو كتب بالذهب أو وزن بالجوهر لكان قليلا في حقه وفيه أنشد بعضهم:
and among them: Kitab al-Shifa bi-taʿrif huquq al-Mustafa, God bless him and grant him peace, in which he was wholly original; his peers conceded to him his mastery in it, none disputed his being alone in it, nor did they deny the merit of having been first to it; rather they longed to read it and were fair in benefiting from it. People transmitted it from him, and its copies flew east and west. And Kitab Mashariq al-anwar fi tafsir gharib hadith al-Muwattaʾ wa-l-Bukhari wa-Muslim, on the precise recording of words, drawing attention to places of error and misreading, and the precise recording of the names of the men; it is a book which, were it written in gold or weighed against jewels, would be little for its due. About it someone recited:
مشارق أنوار تبدت بسبتة ... ومن عجب كون المشارق بالغرب؟
Risings of lights (Mashariq anwar) have appeared in Sabta, ... and is it not a wonder that the risings should be in the West?