Maslama ibn Abd al-Malik
Over the course of the next several months, Habib remained with Yazid as the latter consolidated his position in Iraq. When news arrived that an army under the command of Maslama ibn Abd al-Malik was advancing from Syria, Habib advised his brother to either retreat to Fars, where he could set up a secure stronghold in the mountains, or to send some of his forces to the Jazira and engage the enemy there; Yazid, however, rejected both of these proposals and insisted on remaining in Iraq. When the Umayyad and Muhallabid armies met at al-Aqr in August 720, Habib was put in command of the right flank of his brother's forces. He was killed during the resulting battle, shortly before the death of Yazid himself.