Abdullah bin Abbas reported,

The Messenger of Allah ﷺ stayed in Mecca for thirteen years, and he passed away at the age of sixty-three.In another wording, the Messenger of Allah ﷺ remained in Mecca for thirteen years receiving revelation, then in Medina for ten years, and he died at the age of sixty-three.

Azami 9362

Sahih

عن ابن عباس

أن رسول الله ﷺ مكث بمكة ثلاث عشرة، وتوفي وهو ابن ثلاث وستين. وفي لفظ: أقام رسول الله ﷺ بمكة ثلاث عشرة سنة يوحى إليه، وبالمدينة عشرا، ومات وهو ابن ثلاث وستين سنة.

الأعظمي 9362صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Nearness of his death, his foretelling of it, his passing, and his burial
Section
How old was the Prophet ﷺ when he passed away?
Numbering
Jami al-Kamil 9362 (2nd edition)
Azami 9362