يحرض فيه على مطالبة أبي محمد ابن الصفار، فكان من سوء الاتفاق أن وقعت الرقعة بذلك إلى يد أبي يعقوب بن عبد المؤمن، وكان رجل جد وتصميم في البعد عن الهزل، فأكبر أمرها وأنف لأبي جعفر من انحطاطه إلى مشافهة ذلك النذل واستعماله مثله ومسامحته إياه في مكاتبته إياه (1) بمثل ما تضمنته تلك الرقعة، فصرف أبا جعفر عن حضور مجلسه ووالى الإعراض عنه مدة إلى أن اقتضى رأي أبي يعقوب صرف أخيه أبي زكريا إلى بجاية، فلما حان وقت وداعه شفع عنده لأبي جعفر بقديم انقطاعه إليهم وكبير حرمته لديهم ورغب في العفو عنه وتقديمه قاضيا ببجاية، فأشفعه (2) في ذلك كله وانصرف معه أبو جعفر موفى الحق من البر والإكرام مجرى على معهوده من التنويه والاحترام (3)، وأقام ببجاية قاضيا إلى أن توفي السيد أبو زكريا (4)، فاستقدمه أبو يعقوب إلى حضرته وأعاده إلى مكانه ومنزلته، وبقي من كبار حضار مجلسه إلى أن توفي قاضي الجماعة أبو موسى عيسى بن عمران (5) بمراكش يوم [...] (6) لخمس بقين من شعبان ثمان وسبعين وخمس مئة، فقلد أبو جعفر قضاء الجماعة ذلك اليوم (7)، وقد كان استقضي قبل بجاية بفاس، وبعد موت أبي زكريا بتونس، فتقلده واستقر قاضيا إلى أن توفي أبو يعقوب بن عبد المؤمن في العشر الأخر من شهر ربيع الأول سنة ثمانين وخمس مئة، وصار الأمر بعده إلى ابنه أبي يوسف يعقوب المنصور، فأقره على قضاء الجماعة، إلى أن تحرك معه إلى إفريقية الحركة الثانية المنسوبة إلى قفصة، وفصل عن مراكش إليها لثلاث خلون من شوال اثنين وثمانين، ولما دخل المنصور القيروان وجال فيه معتبرا بآثاره وعمل على الإراحة فيه اعتل القاضي أبو جعفر، وكان للمنصور غرض في إنهاض أبي عبد الله بن علي بن مروان، المذكور بعد في موضعه من هذا الكتاب إن شاء الله (1)، وإسناد (2) قضاء الجماعة إليه تسبب لذلك بمرض أبي جعفر، وقدم أبا عبد الله مكانه (3) وأقلع من القيروان إلى تونس فاستقر بها أبو جعفر، وفصل المنصور إلى حضرة (4) مراكش، ثم أبل أبو جعفر وخاطب المنصور يستأذنه في القدوم على مراكش، فكتب له بالتقديم على قضاء بجاية فتولاه برهة ثم أخر عنه، وتوجه إلى الأندلس للقاء المنصور بها فاستقر بإشبيلية يسمع الحديث ويؤخذ عنه ضروب ما كان عنده من العلوم.
inciting in it to go after Abu Muhammad Ibn al-Saffar. By ill luck the note fell into the hands of Abu Yaʿqub ibn ʿAbd al-Muʾmin, who was a man of seriousness and resolve, far from jesting; he took the matter gravely and disdained, for Abu Jaʿfar's sake, his stooping to speak with that low fellow, his employing the like of him, and his indulging him in writing to him (1) with the like of what that note contained. So he removed Abu Jaʿfar from attending his council and kept turning away from him for a time, until Abu Yaʿqub decided to send his brother Abu Zakariyyaʾ to Bijaya; when the time came to bid him farewell, he interceded with him for Abu Jaʿfar on account of his long devotion to them and his great standing with them, and asked him to pardon him and to appoint him qadi in Bijaya; he granted his intercession (2) in all of that, and Abu Jaʿfar departed with him, given his full due of kindness and honour, treated according to what he was used to of distinction and respect (3). He stayed in Bijaya as qadi until the sayyid Abu Zakariyyaʾ (4) died; then Abu Yaʿqub summoned him to his capital and restored him to his place and rank, and he remained one of the great attendants of his council until the chief qadi (qadi l-jamaʿa) Abu Musa ʿIsa ibn ʿImran (5) died in Marrakesh on [...] (6), when five [nights] remained of Shaʿban of 578; and Abu Jaʿfar was invested with the chief judgeship that day (7). He had been made qadi before, before Bijaya in Fez, and after the death of Abu Zakariyyaʾ in Tunis. He took it up and remained qadi until Abu Yaʿqub ibn ʿAbd al-Muʾmin died in the last ten days of the month of Rabiʿ al-Awwal of the year 580, and the rule passed after him to his son Abu Yusuf Yaʿqub al-Mansur, who confirmed him in the chief judgeship, until he set out with him to Ifriqiya on the second campaign, the one associated with Qafsa; he departed from Marrakesh for it when three [nights] had passed of Shawwal of eighty-two. When al-Mansur entered al-Qayrawan and went around it, taking warning from its remains, and set about resting there, the qadi Abu Jaʿfar fell ill. Al-Mansur had an aim of raising up Abu ʿAbd Allah ibn ʿAli ibn Marwan, who will be mentioned later in his place in this book, God willing (1), and entrusting (2) the chief judgeship to him; he used Abu Jaʿfar's illness as the occasion for that, appointed Abu ʿAbd Allah in his place (3), and set out from al-Qayrawan for Tunis, and Abu Jaʿfar settled there; and al-Mansur went on to the capital (4) Marrakesh. Then Abu Jaʿfar recovered and wrote to al-Mansur asking his permission to come to Marrakesh; he wrote to him appointing him over the judgeship of Bijaya; he held it for a while, then he was removed from it; and he went to al-Andalus to meet al-Mansur there, and settled in Seville, making people hear hadith, and the various sciences he had were taken from him.