Banu Thaqif
Following the conquest of Mecca, Muhammad was alarmed by a military threat from the confederate tribes of Hawazin who were raising an army double the size of Muhammad's. The Banu Hawazin were old enemies of the Meccans. They were joined by the Banu Thaqif (inhabiting the city of Ta'if) who adopted an anti-Meccan policy due to the decline of the prestige of Meccans. Muhammad defeated the Hawazin and Thaqif tribes in the Battle of Hunayn.