ثقيف
In October 630 CE, upon receiving news that the Byzantine was gathering a large army at the Syrian area to attack Medina, and because of reports of hostility adopted against Muslims, Muhammad arranged his Muslim army, and came out to face them. On the way, they reached a place called Hijr where remnants of the ruined Thamud nation were scattered. Muhammad warned them of the sandstorm typical to the place, and forbade them not to use the well waters there. By the time they reached Tabuk, they got the news of Byzantine's retreat, or according to some sources, they came to know that the news of Byzantine gathering was wrong. Muhammad signed treaties with the bordering tribes who agreed to pay tribute in exchange of getting security. It is said that as these tribes were at the border area between Syria (then under Byzantine control) and Arabia (then under Muslim control), signing treaties with them ensured the security of the whole area. Some months after the return from Tabuk, Muhammad's infant son Ibrahim died which eventually coincided with a sun eclipse. When people said that the eclipse had occurred to mourn Ibrahim's death, Muhammad said: "the sun and the moon are from among the signs of God. The eclipses occur neither for the death nor for the birth of any man". After the Tabuk expedition, the Banu Thaqif tribe of Taif sent their representative team to Muhammad to inform their intention of accepting Islam on condition that they be allowed to retain their Lat idol with them and that they be exempted from prayers. Given that there were inconsistent with Islamic principles, Muhammad rejected their demands and said "There is no good in a religion in which prayer is ruled out". After Banu Thaqif tribe of Taif accepted Islam, many other tribes of Hejaz followed them and declared their allegiance to Islam.