Al-Ahnaf Ibn Qays was a Muslim general who lived during the time of Muhammad. He hailed from the Arab tribe of Banu Tamim and was born of two noble parents. His father named him ad-Dhahhak, but everybody called him al-Ahnaf, because of a defect in his feet.
In the early years of Islam, Muhammad sent a missionary to the tribe of Banu Tamim. The tribe members informed the missionary that no decisions could be made until they knew Al-Ahnaf's opinion. Al-Ahnaf listened and questioned the missionary until he and his entire tribe accepted Islam. Al-Ahnaf never met Muhammad because he remained with his people during Muhammad's lifetime. After Muhammad's death in 632, many tribes reneged and rebelled but al-Ahnaf and his people remained Muslims. When he heard about Musaylimah's claim of prophecy, al-Ahnaf went with his uncle to meet him. After listening to Musaylimah, he returned to his people and discouraged them from hearing his falsehood.
When Umar ibn al-Khattab became caliph in 634, the Muslim conquests outside the Arabian Peninsula increased, and Al-Ahnaf encouraged his people to participate. When the Persians surrounded a Muslim division led by al-'Alaa ibn al-Hadrami, in Iraq, Umar ordered Utbah ibn Ghazwan to go to their rescue. Utbah sent a force of 12,000, most of them form the Banu Tamim, and among them was al-Ahnaf who played a major role in breaking the siege. In 639 al-Ahnaf came back to Medina bringing news of the conquest of Tustar, and informing Umar of affairs in Persia. After listening to him, Umar said; Al-Ahnaf replied: Umar gave him permission to pursue Yazdgerd III, and put al-Ahnaf at the head of an army to complete the conquest of Khurasan in the last stages of its annexation.
Al-Ahnaf followed the Persian leader Yazdgerd III until he barricaded himself in the town of Marwir-Rawdh. Yazdgerd III wrote to the Turkic and Chinese rulers seeking help. Al-Ahnaf sent for reinforcement from Kufa and finally captured Marwir-Rawdah, completing the conquest of Khurasan. Towns beyond Khurasan signed peace agreements with al-Ahnaf. He then sent a letter to Umar informing him of the conquest, but added that Yazdgerd III had escaped and fled to Balkh. Umar forbade him to continue deeper into Persia, but ordered him to consolidate Islam in the conquered lands. Al-Ahnaf obeyed the orders but kept an eye on Yazdgerd III‘s moves. When he later learned that the Turks joined the Persians and were both approaching, he rallied his army and camped outside the town. With an army that was only a fraction of the enemy's, he managed to defeat the Persians in Battle of Oxus river, killing their leader, while the Turks retreated to their land. Yazdgerd III then fled eastward from one district to another, until at last he was killed by a local miller for his purse at Merv, Turkmenistan in 651.
During and After the ''Fitna''
Al-Ahnaf returned to Basra after the campaigns in Persia and remained serving Islam, until the time of the caliph Ali ibn Abi Talib when the Muslims were split into two warring parties. Al-Ahnaf isolated himself from this trial and sent a message to Ali saying: "I will restrain ten thousand swords from fighting you."
When Muawiyah became caliph in 661, al-Ahnaf visited him and warned him strongly against fighting the Muslims or engaging in any Fitna. When he left, the caliph's sister said angrily: "Who was that man who warned and threatened you?" He replied: During the Second Fitna, he participated in Battles of Madhar and Harura leading the Tamim tribes
Al-Ahnaf spent the rest of his life in Kufa where he died at the age of seventy.