Sahih Muslim
The Book Pertaining to the Excellent Qualities of the Holy Prophet (may Peace be upon them) and His Companions (Kitab Al-Fadail)
Book Number: 030 / Hadith Number: 5802
Ibn 'Abbas reported that Allah's Messenger (may peace be upon him) stayed in Mecca for thirteen years (after he had received revelation) and stayed in Medina for ten years, and he was sixty-three when he died.