It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) stayed in Makkah for thirteen years and in Madinah for ten years, and when he passed away he was sixty-three years old.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب اللقطة / 12168