Ibn ‘Abbās (may Allah be pleased with him) reported: The Messenger of Allah (may Allah’s peace and blessings be upon him) was sent as a Messenger of Allah at the age of forty. Then he stayed in Makkah for thirteen years receiving the divine revelation. Afterwards, he was commanded to emigrate (to Madīnah where he lived) for ten years, and he died at the age of sixty-three.
عن ابن عباس -رضي الله عنهما- قال: «بُعِث رسولُ الله -صلى الله عليه وسلم- لِأَربعين سَنَة، فَمَكَثَ بِمكة ثلاثَ عشرة سنة يوحَى إليه، ثم أُمِرَ بالهِجْرة فَهاجَر عشر سِنِين، ومات وهو ابنُ ثَلاثٍ وستِّين».
شرح الحديث :
According to this Hadīth, the Messenger of Allah (may Allah’s peace and blessings be upon him) started receiving divine revelation at the age of forty. He stayed in Makkah for thirteen years, receiving divine revelation. Afterwards, Allah, the Almighty, commanded him to emigrate from Makkah to Madīnah, where he lived for ten years and then died. Accordingly, the Prophet (may Allah's peace and blessings be upon him) was sixty-three years old when he died.