Mus'ab dispatched his agents to Kufa to recruit supporters and weaken Mukhtar in his stronghold. Mus'ab's army was divided into the fifths of Basra, each representing an Arab tribal faction. They were the
Banu Bakr led by Malik ibn Misma al-Bakri, the
Abd al-Qays led by Malik ibn al-Mundhir, the
Ahl al-Jibal led by
Qays ibn al-Haytham al-Sulami, the
Azd led by Ziyad ibn Amr al-Ataki, and the
Banu Tamim led by
Al-Ahnaf ibn Qays. In command of the left wing was
Al-Muhallab ibn Abi Sufra, while the right wing was commanded by
Umar ibn Ubayd Allah al-Taymi. His infantry was led by Abbad ibn al-Husayn al-Habati. In addition to the Basran troops, the Kufan refugees were also present in his army. Upon learning of Mus'ab's advances, Mukhtar rallied the Kufans with promises of victory at Madhar. His army was commanded by Ahmar ibn Shumayt. Some of Mukhtar's troops, which were with Ibn al-Ashtar in Mosul, returned to Mukhtar after Ibn al-Ashtar's indifference to Mukhtar's letters. Ibn Shumayt's right wing was led by
Abd Allah ibn Kamil al-Shakiri, Abd Allah ibn Wahab al-Jushami commanded his left wing, Kathir ibn Ismail al-Kindi led the infantry, while a certain Abd al-Saluli was in charge of the cavalry. The
mawālī faction was led by the chief of Mukhtar's
personal guard,
Abu Amra Kaysan. Ibn Shumayt advanced towards Basra and camped at Madhar, where Mus'ab arrived shortly afterward. Though the
mawālī were mounted, the commander of Ibn Shumayt's left wing, Abd Allah ibn Wahab, an Arab who likely disdained the
mawālī, suggested that they were weak, prone to flight if attacked, and therefore should be made to fight on foot. Ibn Shumayt accepted the advice and ordered the
mawālī to dismount. Before the battle, both sides summoned each other to surrender and acknowledge the authority of their respective leaders—
Ibn al-Zubayr and
Mukhtar. Abbad's cavalry assault was repulsed. Then,
al-Muhallab attacked and defeated the Kufans' right flank led by Ibn Kamil al-Shakiri. The Basrans' right wing attacked and defeated the Kufans' left wing. Shortly afterward, the commander of the Kufan forces Ahmar ibn Shumayt was overwhelmed and slain. Muhallab ordered his cavalry to charge on the Kufan foot soldiers and the latter fled.
Mus'ab then sent
Muhammad ibn al-Ash'ath with his cavalry to decimate the fleeing Kufans and told him: "Take your revenge [on the
mawālī]!" Many of the Kufan horsemen escaped, while most of the foot soldiers were killed or captured. All the prisoners were put to death by the Kufan refugees in Mus'ab's army. Despite Ibn Wahab's suspicions, the
mawālī put up serious resistance and large numbers of them died. Their leader
Abu Amra Kaysan was likely killed as the sources do not mention him after the battle. The survivors of Mukhtar's army retreated to Kufa and informed Mukhtar of the defeat. The news undermined Mukhtar's prestige. Regarding his promise of victory, his
mawālī remarked: "This time he told lies". Mukhtar himself remarked: "By God the slaves [
mawālī] have been killed on an unprecedented scale". The precise date of the battle is not given in the historical accounts, but according to modern historians, it would have been fought in the middle of 686. ==Battle of Harura==