ولما ثار أبو الحسن بن أضحى (1) وأهل غرناطة على من كان بهامش لمتونة واعتصم لمتونة بقصبتها، وعجز أهل غرناطة عن التغلب عليهم فيها، اقتضى رأيهم إسناد أمرهم إلى رئيس كبير يولونه على أنفسهم، فمال ابن أضحى وصنف الفقهاء وجماعة معهم إلى القاضي أبي [جعفر] (2) ابن حمدين الثائر بقرطبة، ومال أهل الثغر وعامة البلد إلى أبي جعفر بن هود الملقب بالمستنصر لشهرة اسمه وبعد صيته في الرياسة واستيلائه على بطروج وجيان وغيرهما، وطمعهم في مقاومته من بالقصبة من لمتونة، فساعدهم ابن أضحى ومن معه على ذلك، واتفقوا جميعا على استدعاء ابن هود، وأن يكون الرسول في ذلك إليه الفقيهين: الخطيب أبا الحسن هذا والمشاور أبا جعفر بن طلحة بن عطية، فحملوا عليهما في ذلك فتوجها فيه لما رأياه مصلحة للمسلمين. ولما لقيا المستنصر وألقيا إليه ما جاءا به عن أهل بلدهما جمع عسكرا من أوباش النصارى وسقاط الجند، ونهد قاصدا إلى غرناطة ومعه الفقيهان المذكوران، واتصل ذلك بلمتونة، فشق عليهم، وعلموا بعد صيت ابن هود وأنه إن تم له دخوله إلى غرناطة مغالبا لهم كان في ذلك بوارهم، وتحققوا أيضا فسولة جنده وأنهم لا دفاع لديهم ولا حمية عندهم -أجمع رأيهم على مصادمته، فبرزوا له على نحو ثلاثة أميال من غرناطة مستميتين، وألقوا عليه أنفسهم وصادقوه القتال، فانهزم أصحابه وقتل منهم جمع عظيم، وكان ممن استشهد هنالك الخطيب أبو الحسن هذا رحمه الله وقطع رأسه، وذلك يوم الثلاثاء لإحدى عشرة ليلة بقيت من ذي حجة تسع وثلاثين وخمس مئة وقد قارب السبعين من عمره، وتسنم ابن هود وفل جنده الأوعار وشواهق الجبال حتى أطلوا على غرناطة، فألفوا بسفح بعض الجبال هنالك عسكرا للمتونة نزل هنالك تضييقا على أهل البلد من تلك الجهة، يرأسه أبو [عبد الله] (1) ابن وانودين (2)؛ فلما عاينونهم منحدرين من أعالي الجبال علموا أنهم منهزمون، فركبوا إليهم من فورهم وقصدوا إلى الموضع الذي راموا الدخول منه إلى غرناطة، وهو باب مورور، فتلاقى الفريقان بمقربة منه، وتقاتلوا تقاتلا شديدا، فقتل من جماعة ابن هود جملة كثيرة، منهم: أبو جعفر بن عطية المذكور، وقطع رأسه وحمل إلى محلة ابن وانودين، وأدخل جسده إلى البلد، وكاد ابن هود يقبض عليه لولا أنه حمي من أعلى السور وفتح له باب مورور فدخل عليه مع من نجا من حزبه؛ ورمي في تلك العشية برأس الخطيب أبي الحسن بالعرادة (3) من القصبة إلى المدينة، حنقا عليه وإبلاغا في التشفي منه، فدفن بالمدينة ضحى يوم الغد، وهو يوم الأربعاء لعشر بقين من ذي حجة المذكور، وصلى عليه الفقيه أبو عبد الله الفاسي، ولم يكن جسده حيث يوصل إليه، ولا يعرف لو تأتى الوصول إلى القتلى الذين كان منهم لكثرتهم، نفعه الله؛ ولما دخل ابن هود إلى غرناطة انتقل ابن وانودين إلى القصبة منضافا إلى من كان بها من قومه، وأصبح الناس إلى موضع محلته، فألفوا به رأس أبي جعفر، فسيق إلى المدينة وضم إلى جسده ودفن، رحمة الله عليه (4).
When Abu l-Hasan ibn Adha (1) and the people of Granada rose against those of the Lamtuna who were in it [?], and the Lamtuna took refuge in its citadel, and the people of Granada were unable to overcome them there, their opinion settled on entrusting their affair to a great leader whom they would set over themselves. Ibn Adha, the class of the jurists and a group with them inclined to the qadi Abu [Jaʿfar] (2) Ibn Hamdin, who had risen in revolt in Cordoba; while the people of the frontier and the generality of the town inclined to Abu Jaʿfar ibn Hud, nicknamed al-Mustansir, because of the fame of his name and his far-reaching renown in leadership, his having taken possession of Bitrawj, Jayyan and other places, and their hope that he would resist those of the Lamtuna in the citadel. Ibn Adha and those with him went along with them in that, and they all agreed to summon Ibn Hud, and that the envoys to him in this should be the two jurists: the preacher Abu l-Hasan, this man, and the counsellor (mushawar) Abu Jaʿfar ibn Talha ibn ʿAtiyya. They pressed the two to do it, and they went on that errand, because they saw it as being in the interest of the Muslims. When the two met al-Mustansir and conveyed to him what they had brought from the people of their town, he gathered an army of Christian rabble and the dregs of the soldiery, and set out heading for Granada, with the two jurists mentioned with him. News of that reached the Lamtuna and it weighed on them; they knew the far-reaching renown of Ibn Hud, and that if he succeeded in entering Granada in defiance of them, that would be their ruin; and they also ascertained the worthlessness of his troops, and that they had no power of defence and no zeal - so their opinion agreed on confronting him. They came out against him about three miles from Granada, ready to die, flung themselves upon him and fought him in earnest; his men were routed and a great many of them were killed. Among those martyred there was the preacher Abu l-Hasan, this man, God have mercy on him, and his head was cut off; that was on Tuesday, with eleven nights remaining of Dhu l-Hijja, [the year] 539, when he was close to seventy years of age. Ibn Hud and the remnant of his troops climbed the rugged ground and the heights of the mountains until they looked down upon Granada, and they found on the slope of one of the mountains there a Lamtuna force that had camped there to press the people of the town from that side, headed by Abu [ʿAbd Allah] (1) Ibn Wanudin (2). When these saw them descending from the mountain tops, they knew they were routed, and they rode out to them at once and made for the place through which they sought to enter Granada, which was Bab Mawrur. The two parties met near it and fought fiercely, and a great number of Ibn Hud's band were killed, among them Abu Jaʿfar ibn ʿAtiyya mentioned above; his head was cut off and carried to the camp of Ibn Wanudin, and his body was brought into the town. Ibn Hud himself was nearly captured, had he not been protected from the top of the wall and Bab Mawrur opened for him, so that he entered by it with those of his party who escaped. That evening the head of the preacher Abu l-Hasan was thrown with the ʿarrada (3) from the citadel into the city, out of rage against him and to take vengeance on him to the full; it was buried in the city in the forenoon of the next day, Wednesday, with ten [nights] remaining of the said Dhu l-Hijja, and the jurist Abu ʿAbd Allah al-Fasi prayed over him. His body was not where it could be reached, nor would it have been recognised, had it been possible to reach the slain among whom he was, because of their great number; may God benefit him. When Ibn Hud entered Granada, Ibn Wanudin moved into the citadel, joining those of his people who were in it; in the morning people went to the place of his camp and found there the head of Abu Jaʿfar; it was taken to the city, joined to his body and buried, God's mercy be upon him (4).