Battle of Hunayn
Following the Conquest of Mecca, Muhammad was informed of a military threat from the confederate tribes of Hawazin who were readying an army twice as strong as Muhammad and the "sahaba". They were joined by the Thaqif inhabiting in the city of Ta’if who had adopted an anti-Meccan policy due to the decline of the prestige of Meccans. Both tribes were subsequently defeated in the Battle of Hunayn. Muhammad subsequently launched an expedition against the Byzantine Empire and their Ghassanid allies in the north in the Expedition of Tabuk. Although Muhammad did not make contact with hostile forces at Tabuk, he received the submission of some of the local chiefs of the region. Following this expedition, the Banu Thaqif and other Bedouins submitted to Muhammad in order to be safe from attack and to benefit from the bounty of the wars.