Ibn al-AbbÃÂr (), he was HÃÂfiẠAbà « Abd AllÃÂh Muḥammad ibn 'Abdullah ibn Abà « Bakr al-QudÃÂ'ë al-Balansë () (1199–1260) a secretary to Hafsid dynasty princes, well-known poet, diplomat, jurist and hadith scholar from al-Andalus and perhaps the most famous man of letters produced by the city of Valencia ('Balansiya') during the Middle Ages.
Ibn al-AbbÃÂr's family, who were of Yemeni Arab ("al-QudÃÂ'ë") ancestry, had lived for generations in the village of Onda. As an only son, his father, a scholar, a faqëh (jurist) and a poet, gave him the best education. He was taught by famous scholars of the time, such as Abà « l-Rabi 'ibn al-SÃÂlim, and cultivated in jurisprudence and poetry. He also travelled through al-Andalus. In 1222, while in Badajoz, he learned of his father's death; he returned to Valencia, became secretary (kÃÂtib) to the governor Abà « Zayd and married. In 1229 a revolt against the Almohades forced Abà « Zayd to flee the city; accompanied by his secretary, the governor took refuge with king James I of Aragon. When his patron converted to Christianity, Ibn al-AbbÃÂr abandoned him and returned to Valencia in 1231 to become vizier to the new ruler, Abà « Jamil ibn Zayyan ibn Mardanish, whom he knew from an earlier period. Also around 1235, he was qadi (judge) for a time at Dénia. In 1236 Cordova fell to Ferdinand III of Castile and in 1237 James I of Aragon defeated Ibn Mardanish at the Battle of the Puig; the siege of Valencia began soon after. Abu Jamil sent Ibn al-AbbÃÂr to seek help from Abà « ZakariyàYaḥyÃÂ, the Hafsid sultan of Tunis. The ambassador declaimed before the Sultan a famous "qasëda" celebrating "al-Andalus" and deploring his tragic situation. Abà « Zakariyàsent a fleet of twelve ships, which failed however to reach the blockaded port of Valencia, and was forced to anchor at Dénia. Subsequently, Ibn al-AbbÃÂr was charged by the emir with negotiating the surrender of Valencia, which was signed on September 29, 1238. The two fled to Dénia and Murcia, and in 1240 Ibn al-AbbÃÂr emigrated permanently to Tunis.
He was once again welcomed by Abà « ZakariyÃÂ, and appointed head of his chancery and his panegyrist. But with a shady character, and enemies at court (notably the vizier Ibn Abul Husayn), he was replaced and exiled to Béjaïa in 1248. Although Abà « Zakariyàbefore his death in 1249 had forgiven and recalled him, and he became counsellor to Abà « ZakariyÃÂ's successor, Muhammad I al-Mustansir, ibn al-AbbÃÂr was again banished to Bejaia in 1252. After the fall of the AbbÃÂsid Caliphate of Baghdad (1258), Muhammad I al-Mustansir had proclaimed himself caliph (and was recognized as such in Mecca and Medina). In 1259, Ibn al-AbbÃÂr was again forgiven and recalled to Tunis. Soon after he was arrested, it seems, either for conspiracy or satire, and sentenced to be burnt at the stake. The details are unknown but a poem found and believed to have been by him, contained the following verse: "In Tunis reigns a tyrant who is foolishly called caliph." He was put to death by order of al-Mustansir, the ruler of Tunis, on 6 January 1260, and his body along with his books were burned. An account of this is given by Ibn Khaldà «n in his Kitab al-'Ibar (The Book of Examples).
Of the forty-five books by Ibn al-AbbÃÂr, eight survive:
At-Takmila; published in several incomplete editions from different manuscripts: