Ibrahim, like his brother Sa'id, was a close friend of Caliph al-Hadi (r. 785–786), who appointed him governor of the Yemen.[2] Indeed, according to an account preserved by al-Tabari, Ibrahim held the highest rank at court under al-Hadi, and after his death was succeeded by his own brother Sa'id.[3]