 Muhammad, however, uncovered their intentions through his own spies in the camp of the Hawazin, and marched against the Hawazin just two weeks after the conquest of Mecca with a force of 12,000 men.Only four weeks had elapsed since quitting Medina.The Bedouin commander Malik ibn Awf al-Nasri ambushed the Muslims at a place where the road to al-Taif enters winding gorges; the Muslims, surprised by the assault of the Bedouin cavalry, who they thought were encamped at Awtas, began retreating in disarray.