الهجرة
The pledges and the Hijrah
The people of Madinah believe, and he leaves Makkah with Abu Bakr.
621 to 622 CE
621 CE
The pledge of Aqabah
At the Hajj season, men from Yathrib (later called Madinah) met him at Aqabah, accepted Islam and pledged themselves to him. Ubadah ibn as-Samit, who was there, remembered the pledge:
"Swear allegiance to me for: 1. Not to join anything in worship along with Allah. 2. Not to steal. 3. Not to commit illegal sexual intercourse. 4. Not to kill your children. 5. Not to accuse an innocent person (to spread such an accusation among people). 6. Not to be disobedient (when ordered) to do good deed."
Sahih al-Bukhari 18 (opens in a new tab) 621 to 622 CE
Teachers sent ahead
He sent Mus'ab ibn Umayr to Madinah to teach the Quran, and many there became Muslim. The Companions began to migrate in small groups.
"The first people who came to us (in Medina) were Mus`ab bin `Umar and Ibn Um Maktum who were teaching Qur'an to the people."
Sahih al-Bukhari 3925 (opens in a new tab) 622 CE
Quraysh plot to kill him
Afraid of what Madinah would become, Quraysh plotted to imprison, kill or expel him. Allah revealed:
وَإِذْ يَمْكُرُ بِكَ ٱلَّذِينَ كَفَرُوا۟ لِيُثْبِتُوكَ أَوْ يَقْتُلُوكَ أَوْ يُخْرِجُوكَ ۚ وَيَمْكُرُونَ وَيَمْكُرُ ٱللَّهُ ۖ وَٱللَّهُ خَيْرُ ٱلْمَـٰكِرِينَ ٣٠
And [remember, O Muḥammad], when those who disbelieved plotted against you to restrain you or kill you or evict you [from Makkah]. But they plan, and Allāh plans. And Allāh is the best of planners.
Quran, Surah Al-Anfal (8:30) (opens in a new tab) 622 CE
"I have been given permission to migrate"
Abu Bakr had been waiting for months, feeding two camels for the journey. Then one hot noon the Prophet ﷺ came to his house at an unusual hour. Aisha remembered the moment:
"i have been given permission to migrate." Abu Bakr said, "Shall I accompany you? May my father be sacrificed for you, O Allah's Messenger (ﷺ)!" Allah's Messenger (ﷺ) said, "Yes.""
Sahih al-Bukhari 3905 (opens in a new tab) "Asma, Abu Bakr's daughter, cut a piece from her waist belt and tied the mouth of the leather bag with it, and for that reason she was named Dhat-un-Nitaqain (i.e. the owner of two belts)."
Sahih al-Bukhari 3905 (opens in a new tab) Three nights
The cave of Thawr
They hid for three nights in a cave on Mount Thawr while Quraysh searched for them. Abu Bakr's son Abdullah brought news each night, and his freed slave Amir ibn Fuhayrah brought milk. When the searchers came close, Abu Bakr was afraid for the Prophet ﷺ:
إِلَّا تَنصُرُوهُ فَقَدْ نَصَرَهُ ٱللَّهُ إِذْ أَخْرَجَهُ ٱلَّذِينَ كَفَرُوا۟ ثَانِىَ ٱثْنَيْنِ إِذْ هُمَا فِى ٱلْغَارِ إِذْ يَقُولُ لِصَـٰحِبِهِۦ لَا تَحْزَنْ إِنَّ ٱللَّهَ مَعَنَا ۖ فَأَنزَلَ ٱللَّهُ سَكِينَتَهُۥ عَلَيْهِ وَأَيَّدَهُۥ بِجُنُودٍ لَّمْ تَرَوْهَا وَجَعَلَ كَلِمَةَ ٱلَّذِينَ كَفَرُوا۟ ٱلسُّفْلَىٰ ۗ وَكَلِمَةُ ٱللَّهِ هِىَ ٱلْعُلْيَا ۗ وَٱللَّهُ عَزِيزٌ حَكِيمٌ ٤٠
If you do not aid him [i.e., the Prophet (ﷺ)] - Allāh has already aided him when those who disbelieved had driven him out [of Makkah] as one of two, when they were in the cave and he [i.e., Muḥammad (ﷺ)] said to his companion, "Do not grieve; indeed Allāh is with us." And Allāh sent down His tranquility upon him and supported him with soldiers [i.e., angels] you did not see and made the word of those who disbelieved the lowest, while the word of Allāh - that is the highest. And Allāh is Exalted in Might and Wise.
Quran, Surah At-Tawbah (9:40) (opens in a new tab) "Then Allah's Messenger (ﷺ) and Abu Bakr reached a cave on the mountain of Thaur and stayed there for three nights."
Sahih al-Bukhari 3905 (opens in a new tab) "If any of them should look under his feet, he would see us." He said, "O Abu Bakr! What do you think of two (persons) the third of whom is Allah?"
Sahih al-Bukhari 3653 (opens in a new tab) The popular story of a spider's web and a dove's nest at the mouth of the cave isn't in the authentic collections, so it isn't told here.
On the road
Suraqah's horse sinks
Quraysh offered a reward for their capture. Suraqah ibn Malik caught up with them on horseback, and Abu Bakr told what happened:
"He said, Don't grieve for Allah is with us.' The Prophet (ﷺ) invoked evil on him (i.e. Suraqa) and so the legs of his horse sank into the earth up to its belly."
Sahih al-Bukhari 3615 (opens in a new tab) "Then, whenever he met somebody on the way, he would say, 'I have looked for him here in vain.' So he caused whomever he met to return. Thus Suraqa fulfilled his promise."
Sahih al-Bukhari 3615 (opens in a new tab) 622 CE
"You are the most beloved land to me"
He loved Makkah, and he did not leave it willingly:
"By Allah! You are the best of Allah's earth, and the most beloved of Allah's earth to Allah, and if it were not that I was expelled from you I would not have left."
Jami` at-Tirmidhi 3925 (opens in a new tab)Graded Sahih (Darussalam); Sahih (al-Albani) Rabi' al-Awwal, 622 CE
Madinah welcomes him
Every morning the Muslims of Madinah went out to wait for him until the heat drove them home. Then, on a Monday, he came. He stayed some nights at Quba and built its mosque, then rode into the city, where his camel knelt at the place that became his mosque.
"I had never seen the people of Medina so joyful as they were on the arrival of Allah's Apostle, for even the slave girls were saying, "Allah's Messenger (ﷺ) has arrived!""
Sahih al-Bukhari 3925 (opens in a new tab) "The Prophet (ﷺ) turned with them to the right and alighted at the quarters of Bani 'Amr bin 'Auf, and this was on Monday in the month of Rabi-ul-Awal."
Sahih al-Bukhari 3906 (opens in a new tab) "The Prophet (ﷺ) himself started carrying unburnt bricks for its building and while doing so, he was saying "This load is better than the load of Khaibar, for it is more pious in the Sight of Allah and purer and better rewardable.""
Sahih al-Bukhari 3906 (opens in a new tab)