تقدم أن الطاغية الإسباني استولى على معظم الأندلس أواسط المائة السابعة وانحاز المسلمون إلى غرناطة وجنوب الجزيرة، وبعد ذلك صارت هاته الجهة محل مطامع هذا العدو، والأمراء المسلمون هناك إلى الانقسام والتنافر وتعارض الأغراض والشهوات من الأمراء والثوار بتلك الجهات الذين لم يعتبروا ما في الانقسام من المضار وفعلا وقع فإن الطاغية اغتنم الفرصة وأخذ في محاصرة جهات غرناطة. ولله در خاتمة أدباء الأندلس أبي الطيب الشريف الرندي، إذ قال يندب بلاد الأندلس، ويحرك العزائم من أهل الإسلام لنصرة الدين؛ القصيدة المشهورة التي أولها:
It has preceded that the Spanish tyrant seized most of al-Andalus in the middle of the seventh century, and the Muslims withdrew to Gharnata and the south of the peninsula. After that this region became the object of this enemy's greed, while the Muslim amirs there tended to division, mutual aversion and conflict of aims and desires, among the amirs and rebels in those parts, who did not consider the harms there are in division; and it actually happened: the tyrant seized the opportunity and began to besiege the districts of Gharnata. How excellent was the seal of the men of letters of al-Andalus, Abu l-Tayyib al-Sharif al-Rundi, when he said, lamenting the lands of al-Andalus and stirring the resolve of the people of Islam to support the religion, the famous qasida whose beginning is:
لكل شيء إذا ما تم نقصان ... فلا يغر بطيب العيش إنسان
Everything, when it has reached completion, suffers diminution ... so let no man be deceived by the sweetness of life.
وقد ألف في الغرض العالم النحرير الوزير الشهير أبو يحيي بن عاصم كتابا سماه "جنة الرضى في التسليم بما قدر وقضى" وهو كتاب مفيد عجيب ومضى الكلام على هذا في المقصد في ترجمة هذين الشيخين. وجرت أمور وحروب بين المسلمين والطاغية حتى استولى على ما بقي بالأندلس شيئا فشيئا فكان الاستيلاء على مالقة سنة 893 ه وعلى غرناطة والحمراء سنة 897 ه بعد حصار أصاب المسلمين فيه شدة الجوع وتكاثر الكروب وتفاقم الخطوب فكاتبوا الطاغية في الصلح واشترطوا شروطا وهي سبعة وستون شرطا منها التأمين على النفس والمال
On this subject the accomplished scholar, the famous vizier Abu Yahya ibn ʿAsim wrote a book that he called “Jannat al-rida fi l-taslim bi-ma qaddara wa-qada”, a useful and wonderful book; discussion of this has passed in the main part (al-maqsad) in the biographies of these two shaykhs. Affairs and wars took place between the Muslims and the tyrant until he seized what remained in al-Andalus bit by bit: the seizure of Malaqa was in the year 893 AH, and of Gharnata and the Hamraʾ in the year 897 AH, after a siege in which the Muslims suffered severe hunger, mounting distress and worsening calamities. They wrote to the tyrant about peace and laid down conditions — sixty-seven conditions — among them security for life, property