415 - علي (3) بن خلف بن غالب بن مسعود الأنصاري، وقال فيه ابن الزيات: القرشي، شلبي استوطن قرطبة ثم قصر كتامة، أبو الحسن، ابن غالب، والعارف.
415 - ʿAli (3) ibn Khalaf ibn Ghalib ibn Masʿud al-Ansari - and Ibn al-Zayyat said of him: al-Qurashi - of Shilb, settled in Cordoba, then in Qasr Kutama; Abu l-Hasan, Ibn Ghalib, and al-ʿArif.
تلا على أبوي داود: ابن أيوب وابن يحيى. وسمع الحديث على أبي القاسم بن رضا، وأبوي جعفر: ابن عبد العزيز والبطروجي، وأبي الحسن وليد بن موفق، وأبي عبد الله بن معمر، وتلا عليه بحرف نافع، وأبي محمد النفزي المرسي، وأبي مروان بن مسرة. وأخذ فرائض المواريث والحساب عن أبي العباس بن عثمان الشلبي. وكتب إليه مجيزا: أبو بكر ابن الخلوف، وآباء الحسن: شريح وابن موهب وابن الإمام، وأبوا عبد الله: الجياني البغدادي وابن أبي أحد عشر. وصحب أبا الحسين عبد الملك ابن الطلاء، وأبا الحكم بن برجان، وأبا القاسم ابن بشكوال، وأبا الوليد بن مفرج، وسمع منهم كثيرا وأجازوا له لفظا؛ وصحب من رجال التصوف، سوى من ذكر، أبا العباس ابن العريف.
He recited to the two Abu Dawuds: Ibn Ayyub and Ibn Yahya. He heard hadith from Abu l-Qasim ibn Rida, the two Abu Jaʿfars: Ibn ʿAbd al-ʿAziz and al-Bitrawji, Abu l-Hasan Walid ibn Muwaffaq, Abu ʿAbd Allah ibn Maʿmar - and he recited to him the reading (harf) of Nafiʿ - Abu Muhammad al-Nafzi al-Mursi and Abu Marwan ibn Masarra. He took the shares of inheritance and arithmetic from Abu l-ʿAbbas ibn ʿUthman al-Shilbi. Those who wrote to him granting ijaza: Abu Bakr Ibn al-Khaluf; the Abu l-Hasans: Shurayh, Ibn Mawhab and Ibn al-Imam; and the two Abu ʿAbd Allahs: al-Jayyani al-Baghdadi and Ibn Abi Ahad ʿAshar. He kept company with Abu l-Husayn ʿAbd al-Malik Ibn al-Tallaʾ, Abu l-Hakam ibn Barrajan, Abu l-Qasim Ibn Bashkuwal and Abu l-Walid ibn Mufarrij, heard much from them, and they gave him ijaza orally; and among the men of Sufism, besides those mentioned, he kept company with Abu l-ʿAbbas Ibn al-ʿArif.
روى عنه أبو الحسن بن مؤمن، وأبو الخليل: مفرج بن سلمة، وأبو الصبر الفهري، وأبوا محمد: ابن محمد بن فليج وعبد الجليل بن موسى القصري؛ وكان في فتائه إذ رحل إلى قرطبة قد استكتبه الحاج ابن بلكاس اللمتوني فحظي عنده كثيرا واستولى عليه، وبقي معه كذلك مدة ثم رفض ذلك وتخلى عنه زهدا فيه، وتصدق بما ملكته يمينه أجمع.
Abu l-Hasan ibn Muʾmin, Abu l-Khalil Mufarrij ibn Salama, Abu l-Sabr al-Fihri, and the two Abu Muhammads: Ibn Muhammad ibn Fulayj and ʿAbd al-Jalil ibn Musa al-Qasri transmitted from him. In his youth, when he travelled to Cordoba, al-Hajj Ibn Balkas al-Lamtuni had taken him as his secretary; he enjoyed great favour with him and gained ascendancy over him, and remained with him thus for a time; then he rejected that and abandoned it out of renunciation, and gave away in charity all that his right hand possessed.
قال أبو العباس أحمد بن إبراهيم الأزدي (1): سمعت أبا الصبر أو عبد الجليل يقول: ورث أبو الحسن بن غالب من أبيه نحو اثني عشر ألف دينار، فخرج عنها كلها تورعا، فقال له أبو العباس ابن العريف: يا أبا الحسن، هلا طهره الثلث؟ ثم إن أبا الحسن آثر الخمول والسياحة، وطاف البلاد في لقاء العلماء والزهاد، وانقطع معهم وألزم نفسه من أنواع المجاهدات كثيرا. ثم لما كانت فتنة الأندلس دارت عليه دوائر كادت تنال منه، فخلصه الله منها بجميل صنعه وما عود أولياءه من ألطافه، وفارق الأندلس بعد تردده في كثير من بلادها حتى استوطن قصر كتامة، وصار إمام الصوفية وقدوتهم، يقصدون إليه ويهتدون بآثاره ويقتبسون من أنواره.
Abu l-ʿAbbas Ahmad ibn Ibrahim al-Azdi (1) said: I heard Abu l-Sabr or ʿAbd al-Jalil say: Abu l-Hasan ibn Ghalib inherited from his father about twelve thousand dinars, and he gave it all up out of scrupulousness. Abu l-ʿAbbas Ibn al-ʿArif said to him: O Abu l-Hasan, would not the third have purified it? Then Abu l-Hasan preferred obscurity and wandering, and went round the lands meeting the scholars and the ascetics, devoting himself to them, and he imposed on himself many kinds of spiritual struggle. Then, when the civil strife of al-Andalus came, misfortunes turned upon him that nearly got the better of him, but God saved him from them by His fair working and the kindnesses to which He has accustomed His friends; and he left al-Andalus, after moving about in many of its lands, until he settled in Qasr Kutama. He became the imam of the Sufis and their model; they would come to him, be guided by his traces and take light from his lights.