أبو يزيد
Barred from following Abu Yazid, al-Mansur instead turned north, to the territory of the Sanhaja Berbers, whose leader, Ziri ibn Manad, had once submitted to al-Qa'im. Ziri came forth and presented himself in person to the Fatimid caliph, and was richly rewarded. After giving the command to turn back east, al-Mansur fell heavily ill to a fever on 10 January 947, and remained bedridden for a fortnight. Following his recovery, he made for Msila. Abu Yazid had now settled in the ruined fortress of Azbih (the Byzantine-era Zabi Iustiniana) near Msila. Al-Mansur sent orders for fresh Kutama levies to be undertaken in their homelands in Lesser Kabylia, while Ibn Hazar repeated his protestations of loyalty, which included asking for the proper formula for the "khutba" to be used in the Friday prayer and the coinage. This request signalled the final acceptance of Fatimid sovereignty by the Zenata. The adherence of the Zenata also meant that Abu Yazid was cut off from supplies. On 6 March, al-Mansur, accompanied by 4,000 of his own cavalry and 500 Sanhaja, set out for Azbih. They found the fortress deserted, but as they turned back, the rear guard was suddenly attacked by Abu Yazid and his men. In the ensuing battle, the Fatimid ruler again prevailed, and Abu Yazid, wounded, barely managed to escape. Along with his letter announcing his victory, al-Mansur sent 1,070 severed heads of rebels to Kairouan.