(45) باب هِجْرَةُ النَّبِيِّ صلى الله عليه وسلم وَأَصْحَابِهِ إِلَى الْمَدِينَةِ
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 128
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 58, Hadith 242