محمد الزواغي وأبو البركات بن عصفور وأبو عبد الله البنوتي وتداول خطط القضاء والفتيا جماعة منهم أبو عبد الله الرصاع وأبو عبد الله القلشاني وأبو عبد الله الزنديوي وابنه أبو الحسن وغيرهم من فرائد تاج تونس وزينة جمالها المونس ثم في أوائل المائة العاشرة كانت دولة السلطان أبي عبد الله محمد بن الحسن الحفصي وهو الذي بني المقصورة المعروفة بالعبدلية وملأها بالخزائن وملأ الخزائن كتبا وجعل عليها نظارا وجعل النظر في ذلك لإمام الجامع وهو يومئذ أبو البركات بن عصفور وتوفي هذا السلطان وتولى بعده ابنه الحسن وفي أيامه دخل خير الدين تونس ثم خرج منها في خبر طويل الذيل وكان من رجال الدنيا والآخرة وفي أخباره تأليف مستقل، ثم انقطع الخبر وعمي الأثر وطوي بساط أخبار العلماء والفضلاء لما دهم إفريقية عموما والحاضرة خصوصا أواسط المائة العاشرة من الفتن والإحن فتقلص ظل الدولة الحفصية عنها وبلوغها غاية الهرم حتى تجاسر عليها الثوار من كل جانب وامتدت يد الطاغية الإسباني ولا زالت في ارتباك الأحوال ومكابدة المصائب والأهوال وخرج منها في ذلك الكثير من العلماء والفضلاء إلى المشرق والمغرب منهم أبو عبد الله ماغوش المذكور بهاته الطبقة هاجر إلى المشرق وأبو الفضل خروف الآتي اسمه في الطبقة الآتية هجر إلى فاس وفي نزهة الحادي نقلا عن المنجور في فهرسته أن أبا الطيب الظريف التونسي كان واعظا بجامع الزيتونة رحل لفاس بعد أخذ تونس فخاطبه قاضي الجماعة بفاس أبو الحسن علي بن هارون بمنظومة منها:
Muhammad al-Zawaghi, Abu l-Barakat ibn ʿUsfur and Abu ʿAbd Allah al-Banuti; and the offices of judgeship and fatwa were held in turn by a group, among them Abu ʿAbd Allah al-Rassaʿ, Abu ʿAbd Allah al-Qalshani, Abu ʿAbd Allah al-Zandiwi and his son Abu l-Hasan, and others among the unique pearls of the crown of Tunis and the adornment of its companionable beauty. Then at the beginning of the tenth century came the state of the sultan Abu ʿAbd Allah Muhammad ibn al-Hasan al-Hafsi; it was he who built the maqsura known as al-ʿAbdaliyya, filled it with book-cupboards and filled the cupboards with books, appointed overseers over them, and gave the supervision of that to the imam of the mosque, who was at that time Abu l-Barakat ibn ʿUsfur. This sultan died and his son al-Hasan ruled after him; in his days Khayr al-Din entered Tunis and then left it, in a long-tailed account. He was one of the men of this world and the next, and there is a separate book on his history. Then news was cut off, the traces became obscure and the carpet of accounts of scholars and men of excellence was rolled up, because of the strife and rancour that overwhelmed Ifriqiya in general and the capital in particular in the middle of the tenth century: the shadow of the Hafsid state shrank from it and it reached the extreme of decrepitude, until rebels dared against it from every side and the hand of the Spanish tyrant stretched out; and it remained in confused conditions, suffering misfortunes and terrors. Many scholars and men of excellence left it in that time for the East and the West, among them Abu ʿAbd Allah Maghush, mentioned in this generation, who emigrated to the East, and Abu l-Fadl Kharuf, whose name will come in the next generation, who emigrated to Fez. In Nuzhat al-hadi, quoting al-Manjur in his Fahrasa: Abu l-Tayyib al-Zarif al-Tunisi was a preacher at the Zaytuna mosque; he travelled to Fez after the taking of Tunis, and the chief qadi (qadi al-jamaʿa) of Fez, Abu l-Hasan ʿAli ibn Harun, addressed him with a poem, of which is: