وعشرين سنة ثم خرج منها قاصدا إلى المغرب في سنة ثمان وعشرين وثلاثمائة، ووصل إلى الأندلس في سنة ثلاثين وثلاثمائة في أيام عبد الرحمن الناصر وكان ابنه الأمير أبو العاصي الحكم بن عبد الرحمن من أحب ملوك الأندلس للعلم، وأكثرهم اشتغالا به، وحرصا عليه، فتلقاه بالجميل وحظي عنده، وقربه وبالغ في إكرامه، ويقال إنه قد كتب إليه ورغبة في الوفود عليه، واستوطن قرطبة ونشر علمه بها، وكان إماما فيي علم اللغة متقدما لها فاستفاد الناس منه وعولوا عليه، واتخذوه حجة فيما نقله، وكانت كتبه على غاية التقييد والضبط والإتقان، وقد ألف في علمه الذي اختص به تواليف مشهورة تدل على سعة روايته وكثرة إشرافه، وأملى كتابا سماه "النوادر" يشتمل على أخبار وأشعار ولغة، سمع منه جماعة وحدثوا عنه، منهم أبو عبد الله بن الربيع ابن عبد الله التميمي، ولعله آخر من حدث عنه أحمد بن أبان بن سيد ومن روى عنه أبو بكر محمد بن الحسن الزبيدي النحوي صاحب مختصر كتاب العين وأخبار النحويين والواضح في النحو، وكان حينئذ إماما في الأدب، ولكن عرف فضل أبي على فمال إليه، واختص به واستفاد منه وأقر له وقال: سألت أبا علي عن نسبه فقال: أخبرنا إسماعيل بن القاسم بن عبدون بن هارون بن عيسى بن محمد بن سليمان مولى محمد بن عبد الملك بن مروان، قال: وكان أحفظ زمانه للغة وأرواهم للشعر وأعلمهم بعلل النحو على مذهب البصريين، وأكثرهم تدقيقا في ذلك، قال: وسألته لم قيل له القالي؟ فقال: لما انحدرنا إلى بغداد كنا في رفقة كان فيها [أهل] قالي قلا وهي قرية من قرى نارجرد وكانوا يكرمون لمكانهم من الثغر، فلما دخلنا بغداد نسبت إليهم لكوني معهم وثبت ذلك علي، قال أبو محمد علي بن أحمد: وقد ذكر كتاب أبى علي المسمى بالنوادر في الأخبار والأشعار
and twenty years; then he left it heading for the Maghrib in the year 328, and reached al-Andalus in the year 330, in the days of ʿAbd al-Rahman al-Nasir. His son, the Emir Abu l-ʿAsi al-Hakam ibn ʿAbd al-Rahman, was among the kings of al-Andalus who most loved knowledge, were most occupied with it and most eager for it. He received him handsomely, and he found favour with him; he drew him close and went to great lengths in honouring him. It is said that he had written to him, and [expressed his] desire [?] that he come to him. He settled in Qurtuba and spread his knowledge there. He was an imam in lexicography, foremost in it; people benefited from him and relied on him, and took him as an authority in what he transmitted. His books were of the utmost care in recording, vocalisation and exactness. In the science that was his speciality he composed well-known works that show the breadth of his transmission and the range of his survey. He dictated a book he called "al-Nawadir", which contains reports, poems and lexicography. A group heard from him and transmitted from him, among them Abu ʿAbd Allah ibn al-Rabiʿ ibn ʿAbd Allah al-Tamimi; and perhaps the last to transmit from him was Ahmad ibn Aban ibn Sayyid. Among those who transmitted from him was Abu Bakr Muhammad ibn al-Hasan al-Zubaydi the grammarian, the author of the abridgement of Kitab al-ʿAyn, of Akhbar al-nahwiyyin and of al-Wadih fi l-nahw. He was at that time [already] an imam in adab, but he recognised the excellence of Abu ʿAli, inclined to him, attached himself to him, benefited from him and acknowledged [his rank]. He said: I asked Abu ʿAli about his lineage, and he said, informing us [?]: Ismaʿil ibn al-Qasim ibn ʿAbdun ibn Harun ibn ʿIsa ibn Muhammad ibn Sulayman, client of Muhammad ibn ʿAbd al-Malik ibn Marwan. He said: He had the best memory of lexicography in his time, was the greatest transmitter of poetry among them, the most learned of them in the causes (ʿilal) of grammar according to the school of the Basrans, and the most meticulous of them in that. He said: And I asked him why he was called al-Qali, and he said: When we went down to Baghdad we were in a company in which there were [people of] Qali Qala, which is a village among the villages of Narjird; they were honoured for their position on the frontier, and when we entered Baghdad I was ascribed to them because I was with them, and that stuck to me. Abu Muhammad ʿAli ibn Ahmad, having mentioned the book of Abu ʿAli called al-Nawadir, on reports and poems,