Sahih Muslim, Book 43, Hadith 155 (Muslim 6032)

Ibn 'Abbas reported that Allah's Messenger (ﷺ) 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.