It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that he said: "The Messenger of Allah (peace and blessings be upon him) received revelation in Makkah for thirteen years, and stayed in Madinah for ten years, and he (peace and blessings be upon him) passed away at the age of sixty-three."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12888