Hadith 127

Sahih Bukhari

Book 63: Merits of the Helpers in Madinah (Ansaar)

Chapter 45

The emigration of the Prophet (saws) to Al-Madina

باب هِجْرَةُ النَّبِيِّ صلى الله عليه وسلم وَأَصْحَابِهِ إِلَى الْمَدِينَةِ

Narrated 'Abdullah bin Zaid and Abu Hurairah رضي الله عنهما: The Prophet ﷺ said, "Had there been no emigration, I would have been one of the Ansar." And Abu Musa narrates that the Prophet ﷺ said, "In a dream I saw myself emigrating from Makkah to a land of date-palm trees. I thought that place was either Yamama or Hajar, but it was Al-Madina, Yathrib."
وَقَالَ عَبْدُ اللَّهِ بْنُ زَيْدٍ وَأَبُو هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُمَا عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَوْلاَ الْهِجْرَةُ لَكُنْتُ امْرَأً مِنَ الأَنْصَارِ». وَقَالَ أَبُو مُوسَى عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «رَأَيْتُ فِي الْمَنَامِ أَنِّي أُهَاجِرُ مِنْ مَكَّةَ إِلَى أَرْضٍ بِهَا نَخْلٌ، فَذَهَبَ وَهَلِي إِلَى أَنَّهَا الْيَمَامَةُ أَوْ هَجَرُ، فَإِذَا هِيَ الْمَدِينَةُ يَثْرِبُ».
Sahih al-Bukhari 3902
حَدَّثَنَا مَطَرُ بْنُ الْفَضْلِ، حَدَّثَنَا رَوْحٌ، حَدَّثَنَا هِشَامٌ، حَدَّثَنَا عِكْرِمَةُ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ بُعِثَ رَسُولُ اللَّهِ صلى الله عليه وسلم لأَرْبَعِينَ سَنَةً، فَمَكُثَ بِمَكَّةَ ثَلاَثَ عَشْرَةَ سَنَةً يُوحَى إِلَيْهِ، ثُمَّ أُمِرَ بِالْهِجْرَةِ فَهَاجَرَ عَشْرَ سِنِينَ، وَمَاتَ وَهُوَ ابْنُ ثَلاَثٍ وَسِتِّينَ‏.‏
Ibn `Abbas:

Allah's Messenger (ﷺ) started receiving the Divine Inspiration at the age of forty. Then he stayed in Mecca for thirteen years, receiving the Divine Revelation. Then he was ordered to migrate and he lived as an Emigrant for ten years and then died at the age of sixty-three (years).