Khalid ibn Yazid al-Shaybani

Khalid ibn Yazid al-Shaybani was an Arab general and governor for the Abbasid Caliphate, active in the second quarter of the 9th century.

Khalid was a member of the Shayban tribe, dominant in the region of Diyar Bakr in the northern Jazira, and third son of Yazid ibn Mazyad al-Shaybani, who served twice as Arab governor (ostikan) of Arminiya (a large province encompassing the whole of Transcaucasia). Khalid served in the same office no less than four times: in 813/814, 828–832, briefly in 841 and again under Caliph al-Wathiq (r. 842–845). In his first tenure, he showed himself concilatory towards the native Christian population and the nakharar princes, but his second tenure was marked by the brutal suppression of several revolts by local Arab magnates, as well as the harsh treatment of the Christian population. As a result, when his re-appointment to the office was announced in 841, a rebellion broke out, forcing the Abbasid government to recall him immediately. Nevertheless, al-Wathiq assigned Arminiya to Khalid. The latter arrived in the province at the head of an army, and crushed any opposition. He died soon after at Dvin, where he was buried. He was succeeded by his son, Muhammad. His younger son Haytham ibn Khalid ruled in the family's stronghold of Shirvan, and was the first to claim the title of Shirvanshah.

In 822, Khalid briefly served as governor of Egypt, in an attempt by Caliph al-Ma'mun (r. 813–833) to re-establish Abbasid control over the province, which was divided by strife among rival Arab factions. Although supported by the head of the one faction Ali ibn Abd al-Aziz al-Jarawi, Khalid was outmanoeuvred by the head of the other, Ubayd Allah ibn al-Sari, and was forced to abandon Egypt.