Banu Thaqif
Soon after the Mecca conquest, the Banu Hawazin tribe together with the Banu Thaqif tribe gathered a large army, under the leadership of Malik Ibn 'Awf, to attack the Muslims. At this, the Muslim force, which included the newly converts of Mecca, went forward under the leadership of Muhammad, and the two armies met at the valley of Hunayn. Though at first disarrayed at the sudden attack of Hawazin, the Muslim force recollected mainly at the effort of Muhammad, and ultimately defeated the Hawazin. The latter was pursued at various directions. After Malik bin 'Awf along with his men took shelter in the fort of Ta'if, the Muslim army besieged it which however yielded no significant result, compelling them to return Medina. Meanwhile, some newly converts from the Hawazin tribe came to Muhammad and made a plea to release their women and children who had been captivated from the battlefield of Hunayn. Their request was granted by the Muslims.