 The Thaqifs were idolaters who worshipped Allāt.They controlled the productive area of Ta'if, and were also the tribe which drove Muhammad out of Ta'if, pelting stones at him in the public square, when he was first preaching Islam.Muhammad went to Autas with 12,000 men.