al-Khubūshānī (14):
He is the one who built the Shāfiʿī mausoleum in Egypt at the command of Sultan Ṣalāḥ al-Dīn and endowed it with illustrious charitable waqfs ⦗1⦘. The Sultan appointed him both to teach there and to oversee its affairs, treating him with the utmost respect and honour. I have mentioned him in Tabaqāt al-Shāfiʿiyyah, together with the works he composed for the school of law, among them his Commentary on al-Wasīṭ and others. When al-Khubūshānī ⦗2⦘ died, a number of candidates sought the professorship. Al-Malik al-ʿĀdil interceded with his brother on behalf of the Shaykh of shaykhs, Abū l-Ḥasan Muḥammad ibn Ḥamawayh ⦗3⦘, and the Sultan appointed him to the post ⦗4⦘. After the Sultan’s death he was removed from it, and the Sultan’s sons kept their grip on the chair one after another until it was at last released ⦗5⦘ and restored to the jurists and teachers ⦗6⦘. Allah ⦗7⦘ Most High knows best what is right.
Then the year 588 AH began. It opened while Sultan Ṣalāḥ al-Dīn was encamped at the Holy Jerusalem ⦗8⦘. He had divided the city wall among his sons and emirs, and he himself laboured on it ⦗9⦘, carrying the stones between the saddle-pommel ⦗10⦘ and his own chest. The people followed his example, and the scholars and jurists toiled with their own hands. Meanwhile the Franks ⦗11⦘—may Allah curse them—were stationed around the city from the direction of Ascalon and its environs; yet, owing to the patrols and outposts the Sultan had placed about the Holy City, they did not dare ⦗12⦘ to come near. Still, they were determined to besiege Jerusalem and united in their plot against Islam. As for the patrols, at times they prevailed and at other times were repelled; at times they plundered and at other times ⦗13⦘ were themselves plundered ⦗14⦘.
In Rabīʿ al-Ākhir the emir Sayf al-Dīn al-Mushtūb returned to the Sultan at Jerusalem after being released from captivity ⦗15⦘, and he was—