Language:
كتاب مناقب الأنصار
63  
Merits of the Helpers in Madinah (Ansaar)
(45)
Chapter: The emigration of the Prophet (saws) to Al-Madina
(45)
باب هِجْرَةُ النَّبِيِّ صلى الله عليه وسلم وَأَصْحَابِهِ إِلَى الْمَدِينَةِ
Sahih al-Bukhari 3902

Narrated 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).

حَدَّثَنَا مَطَرُ بْنُ الْفَضْلِ، حَدَّثَنَا رَوْحٌ، حَدَّثَنَا هِشَامٌ، حَدَّثَنَا عِكْرِمَةُ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ بُعِثَ رَسُولُ اللَّهِ صلى الله عليه وسلم لأَرْبَعِينَ سَنَةً، فَمَكُثَ بِمَكَّةَ ثَلاَثَ عَشْرَةَ سَنَةً يُوحَى إِلَيْهِ، ثُمَّ أُمِرَ بِالْهِجْرَةِ فَهَاجَرَ عَشْرَ سِنِينَ، وَمَاتَ وَهُوَ ابْنُ ثَلاَثٍ وَسِتِّينَ‏.‏
Reference : Sahih al-Bukhari 3902
In-book reference : Book 63, Hadith 127
USC-MSA web (English) reference : Vol. 5, Book 58, Hadith 242
  (deprecated numbering scheme)