قد علمت ما حل بإفريقية من المحن وأن العلم ضعف بذهاب رجاله وبأثر ذلك وقع الاحتلال العثماني فابتدأت حينئذ ترجع عمرانها وتستجد شبيبتها وصادف وفود مئات آلاف من الأندلس وجالية غرناطة وعمروا نيفا وعشرين قرية بين كبيرة وصغيرة لكن التراجع كان بطيئا بالنسبة لبث العلوم لأنه لما آل الأمر لهاته الدولة وكان الذين قدموا من الأتراك لإفريقية غير منتظمي التصرف إلا القليل منهم لم يقع منهم التفات لتدارك العلم الذي كاد أن يضمحل في ذلك العهد ثم عاد لهذا القطر المأنوس ما انقطع عنه شيئا فشيئا إلى هذا الوقت على ترتيب الطبقات الآتية فكل طبقة هي أرقى من التي قبلها. قال الشيخ حمودة بن عبد العزيز في باشيه: خرج من الأندلس ألوف لفاس وألوف لوهران وتلمسان وجمهورهم جاء لتونس فعمروا بها القرى الخالية واستحدثوا فرى سكنوها واستقرت حاضرتهم بالحاضرة فاستحكمت فيهم الحضارة التي عوائدها مرتكزة في طبائعهم واستحدثوا بها صناعة الشاشية التي تقصدها التجار من سائر الأقطار وقصدها الترك من بلاد الخلافة وغيرها ومن مصر فارتفعت بهم أوج العلا ووردت عليهم العلماء من الآفاق فتخرج بهم الكثير من العلماء وشرع أمراؤها في اتخاذ المصانع وتوفير الملك. انتهى بتصرف واختصار. وقال: قد كان العلم لأول دولة الترك مرتفعا منها بالمرة حتى ورد عليها المولى أحمد أفندي من أرض الروم في أول المائة الحادية عشر على عهد عثمان داي وكان متفننا في العلوم فأخذ عنه جماعة من أهلها منهم الشيخ محمد الغماد وأبو يحيى الرصاع والشيخ محمد براو وارتحل للمغرب الأقصى وافدا على سلطانها مولاي أحمد الذهبي فوجده يقرىء المطول للمولى سعد الدين بالجامع كل يوم فأوسعه مبرة وإكراما ثم عاد لتونس فكان يقول: وجدت بجامع القرويين سبعة عشر كرسيا يقرأون التفسير وكلهم عن التفسير بمعزل إلا أن ملكهم يفهم الخطاب ثم ارتحل بعد ذلك إلى بلاده فكانت بها هاته الطبقة التي ذكرناها ومن عاصرهم كأبي الفضل عظوم وغيره وانتشر بها العلم. انتهى.
You have learned what trials befell Ifriqiya and that knowledge weakened with the passing of its men, and in the wake of that the Ottoman occupation took place. Then it began to recover its prosperity and renew its youth, and this coincided with the arrival of hundreds of thousands from al-Andalus and the exiles of Gharnata, who populated some twenty-odd villages, large and small. But the recovery was slow as regards the spreading of the sciences, because when the matter passed to this state, and those of the Turks who came to Ifriqiya were, except for a few of them, not orderly in conduct, no attention was paid by them to remedying knowledge, which had nearly vanished in that time. Then what had been cut off returned to this companionable region little by little up to this time, in the order of the coming generations, each generation being higher than the one before it. Shaykh Hammuda ibn ʿAbd al-ʿAziz said in his Bashi: Thousands left al-Andalus for Fez and thousands for Wahran and Tilimsan, and most of them came to Tunis; they populated the empty villages there and founded villages [?] which they inhabited, and their townspeople settled in the capital. The civilisation whose customs were rooted in their natures became firmly established among them, and they introduced there the craft of the shashiya, which merchants seek from all regions, and which the Turks sought from the lands of the caliphate and elsewhere, and from Egypt; so through them it rose to the peak of loftiness, scholars came to them from all horizons and many scholars were trained by them, and its amirs began to build works and enrich the kingdom. End of quote, with adaptation and abridgement. He said: At the beginning of the state of the Turks knowledge had been lifted from it altogether, until al-Mawla Ahmad Afandi came to it from the land of Rum at the beginning of the eleventh century, in the time of ʿUthman Day. He was versed in the sciences, and a group of its people took from him, among them Shaykh Muhammad al-Ghammad, Abu Yahya al-Rassaʿ and Shaykh Muhammad Baraw. He travelled to the Far Maghrib, coming to its sultan Mawlay Ahmad al-Dhahabi, and found him teaching the Mutawwal of al-Mawla Saʿd al-Din in the mosque every day; he treated him with great kindness and honour. Then he returned to Tunis and used to say: I found in the Qarawiyyin mosque seventeen chairs reading tafsir, all of them far removed from tafsir, except that their king understands the discourse. Then after that he departed to his own country, and in it there was this generation we have mentioned and those contemporary with them, such as Abu l-Fadl ʿAzzum and others, and knowledge spread in it. End of quote.