264- محمد بن أيوب بن محمد بن وهب بن محمد بن وهب بن نوح الغافقي من أهل بلنسية ودار سلفه النبيه سرقسطة وقد تقدم الرفع في نسبه يكنى أبا عبد الله أخذ القراءات عن أبي الحسن بن هذيل وغيره وسمع منه ومن أبيه أبي محمد أيوب وأبي عبد الله بن سعادة وأبي الحسن بن النعمة وأبي عبد الله بن عبد الرحيم وأبي القاسم بن حبيش وتفقه بأبي بكر يحيى بن محمد بن عقال واستظهر المدونة عليه وأخذ العربية والاداب عن ابن النعمة وأجاز له أبو مروان بن قزمان وأبو بكر بن محرز البطليوسي وأبو مروان بن سلمة الوشقي وأبو بكر بن أبي ليلى وأبو القاسم بن بشكوال وأبو بكر بن خير وسواهم وكتب إليه من الاسكندرية أبو طاهر السلفي وكانت الدراية أغلب عليه من الرواية مع وفور حظه منها وميله فيها إلى الأعلام المشاهير دون اعتبار لعلو الأسانيد وولي خطة الشورى في حياة شيوخه وزاحم كبارهم بالحفظ والتحصيل في صغره ولم يكن في وقته بشرق الأندلس نظير له تفننا واستبحارا كان رأسا في الراسخين من العلماء وصدرا في المشاورين من الفقهاء قد برع في علوم اللسان وتمرس حياته كلها بالمسائل وتقدم في الفتيا واطلع على الاداب واضطلع بالغريب وشارك في التفسير وتحقق بالقراءات وأما عقد الشروط فإليه انتهت الرئاسة فيه وبه اقتدى من بعده لم يسبقه أحد من أهل زمانه إلى ما تميز به في ذلك حتى دونت عنه مع حسن الخط وبراعة الضبط وتدقيق النظر والإمامة في المعارف والبصر في الحديث والحفظ للأنساب والأخبار والإيضاح لما استغلق من معاني الأشعار الجاهلية والإسلامية وله تنابيه في فنون شتى وتقييدات شاملة النفع والإفادة ولو عني بالتأليف لأربى على من سلف وكان كريم الخلق عظيم القدر سمحا جوادا وولي قضاء بعض الكور النبيهة وخطب بجامع بلنسية وقتا ولم يحظ بعلومه حظوة غيره وامتحن بالولاة والقضاة وكانوا يستعينون عليه ويجدون السبيل إليه بفضل دعابة كانت فيه معروفة منه مع غلبة السلامة عليه في إعلانه وإسراره واستغراق اناء ليله في تلاوة القران وأطراف نهاره نفعة الله بذلك وكان على سعة علمه مزجى البضاعة في نظمه ونثره أصلح منه وأنشدني ابنه أبو الحسن محمد غير مرة قال أنشدني أبي لنفسه
264. Muhammad ibn Ayyub ibn Muhammad ibn Wahb ibn Muhammad ibn Wahb ibn Nuh al-Ghafiqi, of the people of Balansiya; the home of his distinguished forebears was Saraqusta, and the fuller ascent of his lineage has been given before. His kunya was Abu ʿAbd Allah. He took the readings from Abu l-Hasan ibn Hudhayl and others, and heard from him and from his father Abu Muhammad Ayyub, Abu ʿAbd Allah ibn Saʿada, Abu l-Hasan ibn al-Niʿma, Abu ʿAbd Allah ibn ʿAbd al-Rahim and Abu l-Qasim ibn Hubaysh. He studied law with Abu Bakr Yahya ibn Muhammad ibn ʿIqal and memorised al-Mudawwana under him, and took Arabic and letters from Ibn al-Niʿma. Abu Marwan ibn Quzman, Abu Bakr ibn Muhriz al-Batalyawsi, Abu Marwan ibn Salama al-Washqi, Abu Bakr ibn Abi Layla, Abu l-Qasim ibn Bashkuwal, Abu Bakr ibn Khayr and others gave him an ijaza, and Abu Tahir al-Silafi wrote to him from al-Iskandariyya. Understanding (diraya) predominated in him over transmission (riwaya), though his share of the latter was ample, and in it he inclined to the famous eminent men without regard to high chains of transmission. He held the office of counsellor (al-shura) in the lifetime of his shaykhs, and in his youth vied with the senior among them in memory and attainment. In his time there was no one like him in the east of al-Andalus in versatility and breadth of learning. He was a head among the firmly grounded scholars and foremost among the consulted jurists. He excelled in the sciences of language, was practised all his life in legal questions, was foremost in giving fatwas, was acquainted with letters, mastered rare vocabulary, had a share in Qurʾan commentary and was thoroughly versed in the readings. As for the drafting of legal documents, leadership in it culminated in him, and those after him followed his example; no one of his time preceded him in that in which he stood out, so that it was written down from him. Along with this he had a fine hand, outstanding precision, subtle reasoning, mastery in the branches of knowledge, insight into hadith, memory of genealogies and reports, and clarity in explaining the obscure meanings of pre-Islamic and Islamic poems. He has notes on various arts and records of comprehensive use and benefit; had he devoted himself to composition, he would have surpassed those before him. He was of noble character, of great standing, liberal and generous. He held the judgeship of some notable districts and preached for a time in the congregational mosque of Balansiya, but he did not gain by his learning the favour that others gained. He was tried by governors and judges, who used to seek help against him and find a way to him through a playfulness that was well known in him, though soundness prevailed in him openly and in secret, and he spent the hours of his night and the ends of his day in reciting the Qurʾan, God benefit him by that. For all the breadth of his learning he was of scant merchandise in his verse, and his prose was better than it. His son Abu l-Hasan Muhammad recited to me more than once; he said: My father recited to me of his own:
( كأن يقيننا بالموت شك % وما عقل مع الشهوات يذكو )
As if our certainty of death were doubt ... and no mind grows keen amid the passions.
( أرى الشهوات غالبة علينا % وعند المتقين لهن فتك )
I see the passions prevailing over us ... and with the God-fearing they deal slaughter.
هكذا كان ينشدنا غير مرتاب ويفصح لنا به دون توقف ولم أزل في ذلك معولا على ضبطه راكنا إلى حفظه حتى أفادني بعض أصحابنا بتونس في أول سنة خمس وأربعين وستمائة أو قبلها بيسير قطعة نسبها إلى ابن المعتز وأولها
Thus he used to recite it to us without doubting, and state it to us plainly without hesitation, and I kept relying in that on his exactness and trusting his memory, until one of our companions in Tunis, at the beginning of the year 645 or a little before it, gave me a piece which he ascribed to Ibn al-Muʿtazz, of which the beginning is:
( كأن يقيننا بالموت شك % ولا عقل مع الشهوات يذكو )
As if our certainty of death were doubt ... nor does any mind grow keen amid the passions.
( لهونا والحوادث دائبات % لهن بمن قصدن إليه فتك )
We took our pleasure while misfortunes are unceasing ... dealing slaughter to those they aim at.
( وفي الأجداث من أهل الملاهي % رهائن لا تعار ولا تفك )
And in the graves, of the people of amusements, ... are pledges neither lent out nor released.
( وللدنيا عدات بالتمني % وكل عداتها كذب وإفك )
And the world makes promises by way of wishes ... and all its promises are lies and falsehood.
وشبيه أن يكون أبو الحسن سمع أباه رحمه الله يتمثل بهذين البيتين فحسبهما من قوله ونسبهما إليه على أن ثانيهما مغير عما في هذه الرواية وبالجملة فلم يكن لشيخنا في باب المنثور والمنظوم ما يناسب براعته في أفانين العلوم أقرأ القران وأسمع الحديث ودرس الفقه وعلم بالعربية والاداب وأخذ الناس عنه ورحلوا إليه وانتفعوا به وسمع منه جلة من شيوخنا وأصحابنا وطال عمره حتى أخذ عنه الاباء والأبناء تلوت عليه القران بالسبع وأجاز لي وسمعت منه بعد والدي رحمه الله ومعه وهو أغزر من لقيت علما وأبعدهم صيتا ولد أول وقت الظهر من يوم السبت الثاني من جمادى الأخيرة سنة ثلاثين وخمسمائة قرأت ذلك بخط أبيه أيوب رحمه الله وتوفي في أول وقت الظهر أيضا من يوم الاثنين لست مضين من شوال سنة ثمان وستمائة ودفن يوم الثلاثاء بعده لصلاة العصر بمقبرة باب الحنش وهو ابن ثمان وسبعين سنة وأربعة أشهر وأربعة أيام وصلى عليه أبو الحسن بن خيرة وهو تولى غسله في جماعة من أصحابه الجلة وشهدت الخاصة والعامة جنازته وأتبعوه ثناء حسنا ورثي بمراث كثيرة رحمه الله
It is likely that Abu l-Hasan heard his father, God have mercy on him, quoting these two lines, and thought them his own composition and ascribed them to him; though the second of them is altered from what is in this version. In sum, our shaykh had nothing in prose and verse to match his excellence in the various branches of the sciences. He taught the Qurʾan, had hadith heard, taught law and taught Arabic and letters; people took from him, travelled to him and benefited from him, eminent men among our shaykhs and companions heard from him, and his life was long, so that fathers and sons took from him. I recited the Qurʾan to him in the seven readings, and he gave me an ijaza, and I heard from him after my father, God have mercy on him, and with him. He is the most abundant in knowledge of those I met and the most widely renowned of them. He was born at the beginning of the time of the noon prayer on Saturday the 2nd of Jumada al-Akhira of the year 530 — I read that in the handwriting of his father Ayyub, God have mercy on him — and he died, also at the beginning of the time of the noon prayer, on Monday, six days having passed of Shawwal, of the year 608, and was buried on the Tuesday after it at the afternoon prayer in the cemetery of Bab al-Hanash, aged seventy-eight years, four months and four days. Abu l-Hasan ibn Khayra prayed over him, and he took charge of washing him together with a group of his eminent companions. The elite and the common people attended his funeral and followed him with fine praise, and he was lamented in many elegies, God have mercy on him.