Events took place during Migration
After the pledges of Aqabah family after family left for Medina. When the Quraish came to know about this, they increased their persecutions on Prophet( PBUH) and his followers. Meanwhile all the companions of Holy Prophet(PBUH) except Hazrat Abu Bakr(R.A) and Hazrat Ali(R.A) succeeded in migration to Medina.
The Quraish held a meeting in which they decided that one person from each tribe would be selected and that they would simultaneously attack the Holy Prophet(PBUH) and (God forbid) kill him. The Holy Prophet(PBUH) was informed of this plan by Allah and was told to leave Makkah that same night:
The Holy Prophet(PBUH) asked Hazrat Ali(R.A) to sleep on his bed and to return valueables entrusted to Prophet (PBUH) by various people. Prophet (PBUH) came out from the house with Allah’s protection at his side, cast a handful of dust at the disbelievers and made his way through them while reciting the verses of Surah Yasin:
In the morning, when Hazrat Ali (R.A) rose up, he was enquired about Prophet (PBUH) and he explained to them that he did not know himself. This situation stunned Quraish. Prophet (PBUH) was led by Abu Bakr (R.A) to cave of Saur instead of the way to Medina. After reaching, Prophet (PBUH) laid his head on the lap of Abu Bakr (R.A) and fell asleep. Meanwhile, a snake appeared before them and Abu Bakr (R.A) put his foot on the mouth of the hole from where the snake emerged and it stung Abu Bakr (R.A) on it. Due to severe pain, tears fell from his eyes to Prophet’s (PBUH) face which woke him. He then applied his saliva on the foot of Abu Bakr (R.A) and the pain disappeared. On the other hand, Makkans used all their strength and wisdom to track them down. One day, they succuessfuly reached the mouth of cave and Abu Bakr (R.A) got frightened. Prophet (PBUH) said:
When the Makkans saw the cave, they turned around because the entrance was covered with a cob web and there was a pair of piegons on the threshold. This happened miracolously and it convinced the Makkans that the cave was empty when they saw the branches of tree that covered the mouth of the cave nearby. After this incident, they departed from the cave and continued their journey.
Meanwhile, Holy Prophet (PBUH) and Hazrat Abu Bakr (R.A) saw two isolated tents. There lived an old woman who had a goat which could not give milk. Prophet (PBUH) touched its udder and it begun to provide milk. The party then refreshed by drinking milk and set to their journey to Medina. Afterwards, Prophet (PBUH) met Buraidah bin al-Husaib and about 80 other men. All of them accepted Islam and performed Salah with Prophet (PBUH) and Abu Bakr (R.A).
On 8th Rabi ul-Awal, 14th year of Prophethood, Prophet (PBUH) reached Quba. They established the first Islamic mosque and also met Hazrat Ali (R.A) there. The Muslims of Medina anxiously waited for Prophet (PBUH) but the heat of the day forced them to return. One day a Jew climbed up to roof of a fort and saw the Prophet’s (PBUH) caravan, dressed in white. He shouted about it and Muslims emerged from their houses and received Holy Prophet (PBUH) with a great welcome. Prophet (PBUH) kept quite while Allah revealed:

