Ibn 'Abbas reported that Messenger of Allah ﷺ 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. (Using translation from Muslim 2351b)
«أَقَامَ رَسُولُ اللهِ ﷺ بِمَكَّةَ ثَلَاثَ عَشْرَةَ سَنَةً يُوحَى إِلَيْهِ وَبِالْمَدِينَةِ عَشْرًا وَمَاتَ وَهُوَ ابْنُ ثَلَاثٍ وَسِتِّينَ»