The Messenger of Allah went away reciting Surah Yasin till Allah's saying...
The Messenger of Allah went away reciting Surah Yasin till Allah's saying: thus have We enveloped them, so that they do not see [Qur'an 36:1-9]. He took a handful of dust and threw it at them while they slept, and went on his way. Then Gabriel (directing the Messenger of Allah) said to him: "O Muhammad, take the route of Thawr - a mountain located on the way to Mina, the shape of which resembles the hump of a bull (in Arabic: `thawr' ).
Thus the Messenger of Allah continued on; Abu Bakr met him on the way and the Prophet took hold of his hand and went with him. Then when he reached the mountain of Thawr he entered the Cave. Next morning, at the break of dawn, the people of Quraysh rushed into the room and went for the bed. `Ali jumped up, and facing them, asked: "What do you want?" They demanded: "Where is your cousin Muhammad?" He answered: "Did you set me as a guard over him! Did you not tell him to depart your town?
He is gone; what more do you want? " They rushed at `Ali, beating and reviling him. Abu Lahab, however, restrained them, saying: "It is you (`Ali) who have been deceiving us since last night." They thus scattered themselves in the mountains (in search of the Prophet). There was a man among them called Abu Kurz, of the tribe of Khuza'ah, who was known for his ability in tracking.
They said to him: "Today is your day!" He continued to track the Messenger of Allah until he stood with them at the door of his room. He said: "This is the footprint of Muhammad, for it is, by Allah, a match of his footprint which is in the Ka'bah. These also are the footprints of Abu Quhafah (that is, Abu Bakr's father) and his son.
He then said: "The son of Abu Quhafah (that is, Abu Bakr) went this way!" He then went on with them until they came to the entrance of the Cave, whereupon he said to them: "They did not go beyond this spot. Either they went up to heaven, or went into the ground." Allah, however, sent a spider which wove its web at the Cave's entrance (as we have already mentioned). It is reported that an angel came down in the image of a horseman and stood at the entrance of the Cave.
He said to them: "Look for him around these ravines, for he is not here." They began to search around in the countryside, while the Messenger of Allah remained in the Cave for three days. Finally, Allah permitted him to migrate.