ʿAbd al-Raḥmān ibn Ḥabīb al-Fihrī () (died 755) was an Arab noble of the Fihrid family, and ruler of Ifriqiya (North Africa) from 745 through 755 AD.

Background

Abd al-Rahman ibn Habib was a great-grandson of Oqba ibn Nafi al-Fihri (Muslim Arab conqueror of North Africa). His family, the al-Fihris, were among the leading Arab families of the Maghreb.

Abd al-Rahman ibn Habib al-Fihri

In 740, Ibn Habib joined his father Habib ibn Abi Obeida in an Arab expedition across the water to Sicily in what was possibly the first attempt at a full-scale invasion of the island (rather than a mere raid). They had a successful landing and laid a brief siege to Syracuse, securing its submission and agreement to pay tribute. But the break-out of the Great Berber Revolt in the Maghreb forced the al-Fihris to cease their invasion of Sicily and ship their army quickly back to North Africa to help quell the uprising. The Arabs were defeated by the Berbers at the Battle of Bagdoura (near the Sebou) in 741. His father was killed in the field of battle, while Abd al-Rahman ibn Habib narrowly escaped and fled across the straits to Spain with the remnant of the Arab army.

Abd al-Rahman ibn Habib al-Fihri

While in Spain, Ibn Habib involved himself in the conflicts which immediately erupted between the commanders of the defeated army (the Syrian regiments or )), and the resident governor, Abd al-Malik ibn Qatan al-Fihri. When the Syrian commander Balj ibn Bishr al-Qushayri tortured and executed the elderly Ibn Qatan, a Fihrid relative, Abd al-Rahman ibn Habib openly broke with the Syrians and joined the Andalusian (baladi) party. Ibn Habib participated in the Battle of Aqua Portora in August 740 and it was claimed by at least one chronicler (Ibn al-Khatam) that he sought out and fatally wounded Balj in the heat of battle (although the chronicler may have confused Ibn Habib with another Abd al-Rahman, Ibn al-Qama al-Lakhmi, the governor of Narbonne and commander of the Andalusians).

Abd al-Rahman ibn Habib al-Fihri

In the aftermath, Abd al-Rahman ibn Habib tried to put himself forward as a candidate to replace the governor, but gave up on these ambitions with the arrival of Abu al-Khattar ibn Dirar al-Kalbi as Andalusian governor in 743, who then set about pacifying the situation.

Soon after, Ibn Habib left Spain and returned to Ifriqiya (although, apparently, he may have left his son, Yusuf, behind). Ibn Habib may have served briefly under the Kairouan governor, Handhala ibn Safwan al-Kalbi, in a variety of military capacities, including command of the Tunis garrison.

Tunisian Coup

In late 744, in the turmoil following the death of the Umayyad caliph, Hisham, Abd al-Rahman ibn Habib assembled a small force in Tunis and declared himself emir of Ifriqiya. Although urged to quash the usurper, the Ifriqiyan governor Handhala ibn Safwan al-Kalbi decided it was best to avoid bloodshed and consented to return to Damascus in February 745, rather than put up a fight.

Nonetheless, on departure, Handhala ibn Safwan laid a curse on the usurper: "Oh God, do not permit Abd al-Rahman ibn Habib to enjoy his usurped authority! Let his partisans derive no profit from this attempt, may they shed each other's blood! Send against them, O Lord, the most evil of all the men You have created!" Handhala extended the curse to Ifriqiya itself, the land and its ungrateful people, invoking upon them famine, pestilence and war. As it turned out, save from some brief seasonal interruptions, Ifriqiya was indeed gripped by pestilence for the next seven years.

Ruler in Ifriqiya

Abd al-Rahman ibn Habib had come to power essentially as the figurehead of the local Arab high military caste, a group much despised and feared by the common population. Their appetites and aspirations had long been kept in check by the Umayyad governors. But with the connection with Damascus now cut, the high nobles fully expected to be allowed free rein by 'their' emir. But they were soon to be disappointed. Ibn Habib wanted a country to govern, and was not prepared to see it fragmented and handed over to the anarchic ways of a feudal nobility. Ibn Habib consequently faced the prospect of revolts whatever he did - should the nobles be let loose, the people would revolt; hold the reins tight, the nobles would turn against him. To assert himself Ibn Habib consequently turned to his greatest asset - his family, the Fihrids.

No sooner had Ibn Habib installed himself in Kairouan, then revolts by Arabs and Berbers, began erupting all over the country. Tunis was raised to revolt by Orwa ibn ez-Zobeir es-Sadefi, Tabinas by Ibn Attaf el-Azdi, Béja was taken by the Sanhaja Berber rebel Thabit al-Sanhaji, and many more. Ibn Habib patiently and ruthlessly crushed the revolts one by one.