ورتبته على مقدمة فيها سبع فرائد اشتملت على كثير من الجواهر الثمينة والفوائد. ومقصد به سبع وعشرون طبقة ترتيبها على نحو ما أشرت إليه، وعولت في تهذيبها عليه. وختمته بخاتمة قيمة في تاريخ فنون السنة، وأسأله التوفيق لما أمر به وسنه. وتتمة في طبقات أمراء إفريقية، هي في الحقيقة خلاصة نقية، اشتملت على فوائد تاريخية، وتنبيهات لها أهمية. غاية في التحرير، والتقرير والتحبير، جديرة بالاعتبار، عند ذوي الأنظار، وعلى خلاصة الأدوار والأطوار، التي حصلت لدول إفريقية وما لها من الآثار. وخاتمة في خصوص الكلام على المنستير، وهو مسقط رأس العبد الفقير، ومنبت غرسه، ومجمع أهله وأنسه. ثم لخصت المقصد في صورة شجرة، بعبارات وجيزة محررة، أغصانها بالدر يانعة، وثمراتها طيبة نافعة، وأنوارها ساطعة لامعة، روضها كله زهر، وسلكها كله درر، شجرة تقتبس أنوارها، وتجتنى ثمارها وأزهارها، لم تزل من البركة والسمو في النماء، أصلها ثابت وفرعها في السماء، طابت أصلا، وزكت فرعا وفصلا، وسميته (شجرة النور الزكية، في طبقات المالكية) والباعث على تلخيصه على نحو ما ذكرناه، والنمط الذي اخترناه، هو التوصل بسهولة للأسانيد عند المطالعة، وليكون المطالع على يقين بعد المراجعة. فجاء تأليفا جامعا لما انتشر، وموضوعا بارعا ناظما لما انتثر، على أسلوب غريب، ومنزع عجيب، راق مجتلاه ومجتناه، في الحسن والإحسان لفظه ومعناه، وعلم الشريعة كما هو معلوم على طبقات، ولأصحابه فيما بينهم درجات، والمترجم لهم هم سادات السادات، سباقو غايات، وأساطين روايات، وأئمة في العلوم والمعارف، والرقائق والمواعظ واللطائف، فمنهم الخلفاء، والملوك والأمراء. ومنهم قضاة العدل، والقراء والمحدثون المشهود لهم بالعلم والعمل والفضل، ومنهم الفقهاء المعتكفون على مطالعة المسائل، واعمال النظر لتحريرها بأكمل الوسائل، والتقاط المسائل من الدلائل. فمنهم من أصل وفرع، ومنهم من
I arranged it in an introduction (muqaddima) containing seven unique pearls (faraʾid) which comprise many precious jewels and useful points; and a main part (maqsad) containing twenty-seven generations, arranged in the way I have indicated, and on which I relied in refining it. I closed it with a valuable conclusion (khatima) on the history of the branches of the sunna (and I ask Him for success in what He commanded and laid down); and a Complement (tatimma) on the generations of the amirs of Ifriqiya, which is in truth a pure summary, containing historical points and notes of importance, of the utmost precision, establishment and fine composition, worthy of consideration by those of insight; and on a summary of the phases and stages that the states of Ifriqiya went through and the traces they left; and a conclusion devoted specifically to al-Munastir, which is the birthplace of this poor servant, the place where his plant grew, and the gathering place of his family and his intimates. Then I summarised the main part in the form of a tree, in brief and exact expressions, its branches fresh with pearls, its fruits good and beneficial, its lights shining and gleaming, its garden all flowers, its string all pearls; a tree whose lights are taken and whose fruits and flowers are gathered, ever growing in blessing and height, its root firm and its branch in the sky, good in root, pure in branch and offshoot. I named it (Shajarat al-nur al-zakiyya fi tabaqat al-Malikiyya: The Pure Tree of Light on the Generations of the Malikis). The motive for summarising it in the way we have mentioned, and the pattern we have chosen, is to reach the chains of transmission easily when reading, and so that the reader may be certain after consulting it. So it came out as a work gathering what was spread abroad, a skilful composition stringing together what was scattered, in a rare style and a wondrous manner, whose aspect and fruit are pleasing, beautiful and excellent in its wording and its meaning. The knowledge of the shariʿa, as is known, is in generations, and its people have degrees among themselves. Those whose biographies are given are the leaders of leaders, foremost in reaching the goals, pillars of transmission, and imams in the sciences and branches of knowledge, in the heart-softening matters, exhortations and subtleties. Among them are caliphs, kings and amirs; among them judges of justice, Qurʾan readers, and hadith scholars attested for knowledge, practice and merit; among them jurists devoted to studying the questions and applying reflection to establish them by the most complete means, and to drawing questions out from the proofs. Among them are those who laid down principles and derived branches, and among them those who