Muhammad ibn Ahmad al-Shaybani

Muhammad ibn Ahmad al-Shaybani (Arabic: محمد بن أحمد الشيباني) was the semi-autonomous ruler of Diyar Bakr in 898–899, after which he was deposed by the Abbasid Caliphate.

Exploiting the weakness of the Abbasid Caliphate after the turmoils of the "Anarchy at Samarra", Isa and Ahmad had established themselves as the virtually independent rulers of Diyar Bakr in the Jazira.

Ahmad remained in control of Diyar Bakr and his Armenian gains, but was thereafter careful to appease the Caliph and appear loyal to him.

[1][2] When Ahmad died in 898, Muhammad succeeded him in Diyar Bakr, but al-Mu'tadid now resolved to complete the re-submission of the entire Jazira to direct caliphal control.

[2][3] The Caliph treated Muhammad well, and after installing his own son, Ali al-Muktafi, as governor of the Jazira, took the captive emir with him to Baghdad.