من أهل جيان وسكن أبوه المرية يكنى أبا يحيى أخذ القراءات عن أبيه وأبي العباس القصبي وأبي القاسم بن أبي رجاء وأبي الحسن شريح بن محمد وأبي علي منصور بن الخير وسمع منهم ومن أبي عبد الله بن زغبية وأبي الحسن بن موهب وأبي الفضل بن شرف وأبي محمد بن الوحيدي وأبي عبد الله بن أخت غانم وقدم بلنسية فسمع بها من أبي الحسن بن هذيل صحيح البخاري في سنة أربع وأربعين وخمسمائة ولقي بها أبا حفص بن واجب وأبا إسحاق بن خفاجة الشاعر وأجاز له جماعة منهم أبو محمد بن عتاب وأبو الوليد بن رشد وابو عمران بن أبي تليد وأبو بحر الأسدي وأبو عبد الله بن الفراء وأبو علي بن سكرة وابو محمد بن أبي جعفر وأبو عبد الله البلغي وسواهم ورحل إلى المشرق فاستوطن الاسكندرية وروى عن السلفي وهنالك لقيه أبو عبد الله التجيبي في رحلته سنة تسعين وخمسمائة ثم انتقل إلى مصر واشتمل عليه الملك صلاح الدين أبو المظفر يوسف بن أيوب ورسم له جاريا يقوم به وكان يكرمه ويشفعه في مطالب الناس لأنه كان أول من خطب على منابر العبيدية عند نقل الدعوة العباسية تجاسر على ذلك حين تهيبه سواه فحظي عنده وعند قومه وكان فقيها مشاورا مقرئا محدثا حافظا نسابة من أبدع الناس خطا وأحسنهم وراقة وله حظ ضعيف من قرض الشعر وألف تاريخا في المغرب وأهله سماه بالمغرب في محاسن المغرب وقد سبق لهذا الاسم وهو متهم في هذا التأليف وقال فيه وقد كان شيخنا الحكيم الأديب أبو الفضل جعفر بن محمد بن شرف رحمه الله يحذرنا أن نصحب إلا أحد رجلين إما عالما برع في معلوماته وإما جاهلا عرف بجهالاته وأن نتقي صحبة من أثم فجهل وظن أن قد علم قال حدثني أبو الحسن بن ريدان قال لما توجهنا إلى ابن اذفونش بن شانجه وهو الملقب بالسليطين رسلا عن ابن حمدين أنا والفقيه أبو فلان أمر فاخرج سفط فيه حق من ذهب مرصع بالدر والياقوت والزمرد ثم استخرج منه كتاب النبي صلى الله عليه وسلم الذي نصه في الجامع الصحيح للبخاري فلما رأيناه بكينا فقال لنا لم تبكون فقلنا تذكرنا أثره صلى الله عليه وسلم فقال إذا هذا شرفي وشرف آبائي من قبلي سمع منه هالك وممن حدثنا عنه التجيبي وأكثر خبره عنه أجاز له غير مرة ما رواه وجمعه وماله من نظم ونثر قال وتوفي بعد انصرافي عنه في رجب سنة 575 على ما بلغني وكان مسنا وحدث عنه أبو عبد الله الأندرشي وغلط في اسمه وكنيته فقال فيه أبو بكر يحيى بن اليسع
Of the people of Jayyan; his father settled in al-Mariyya. His kunya was Abu Yahya. He took the Qurʾan readings from his father, Abu l-ʿAbbas al-Qasabi, Abu l-Qasim ibn Abi Rajaʾ, Abu l-Hasan Shurayh ibn Muhammad and Abu ʿAli Mansur ibn al-Khayr, and heard from them and from Abu ʿAbd Allah ibn Zughbiya, Abu l-Hasan ibn Mawhab, Abu l-Fadl ibn Sharaf, Abu Muhammad ibn al-Wahidi and Abu ʿAbd Allah ibn Ukht Ghanim. He came to Balansiya and heard there from Abu l-Hasan ibn Hudhayl the Sahih of al-Bukhari in the year 544, and he met there Abu Hafs ibn Wajib and Abu Ishaq ibn Khafaja the poet. A group gave him ijazas, among them Abu Muhammad ibn ʿAttab, Abu l-Walid ibn Rushd, Abu ʿImran ibn Abi Talid, Abu Bahr al-Asadi, Abu ʿAbd Allah ibn al-Farraʾ, Abu ʿAli ibn Sukkara, Abu Muhammad ibn Abi Jaʿfar, Abu ʿAbd Allah al-Balghi and others. He travelled to the East and settled in al-Iskandariyya, and related from al-Silafi; there Abu ʿAbd Allah al-Tujibi met him on his journey in the year 590. Then he moved to Misr, and the king Salah al-Din Abu l-Muzaffar Yusuf ibn Ayyub took him under his wing and assigned him a stipend to support him; he honoured him and accepted his intercession in people's requests, because he had been the first to deliver the khutba (Friday sermon) on the pulpits of the ʿUbaydids at the transfer to the ʿAbbasid daʿwa: he dared to do that when others were afraid of it, and so he found favour with him and with his people. He was a jurist consulted in legal matters (mushawar), a Qurʾan reader, a hadith scholar, a hafiz and a genealogist, one of the people with the most wonderful handwriting and the finest copying; he had a weak share in composing poetry. He wrote a history of the Maghrib and its people which he named al-Mughrib fi mahasin al-Maghrib—he had been preceded in this name—and he is held suspect in this work. In it he said: Our shaykh, the sage and man of letters Abu l-Fadl Jaʿfar ibn Muhammad ibn Sharaf, God have mercy on him, used to warn us to keep company only with one of two men: either a learned man who excelled in what he knew, or an ignorant man who was aware of his ignorance; and to beware of the company of one who sinned and was ignorant and thought that he knew. He said: Abu l-Hasan ibn Raydan told me: When we went as envoys from Ibn Hamdin to Ibn Adhfunsh ibn Shanja, who is nicknamed al-Sulaytin—I and the jurist Abu so-and-so—he gave an order, and a basket was brought out in which was a casket of gold inlaid with pearls, rubies and emeralds; then he took out of it the letter of the Prophet, God bless him and grant him peace, whose text is in al-Jamiʿ al-sahih of al-Bukhari. When we saw it we wept. He said to us: “Why do you weep?” We said: “We remembered his trace, God bless him and grant him peace.” He said: “Then this is my honour and the honour of my forefathers before me.” People heard from him there [?], and among those who told us from him is al-Tujibi, and most of what is reported of him is from him; he gave him an ijaza more than once for what he related and compiled and for what he had of verse and prose. He said: He died after my departure from him, in Rajab of the year 575, according to what reached me; he was advanced in age. Abu ʿAbd Allah al-Andarashi transmitted from him and erred in his name and kunya, calling him Abu Bakr Yahya ibn al-Yasaʿ.