"The Prophet ﷺ stayed in Makkah for thirteen years - meaning while he was receiving Revelation - and he died when he was sixty-three years old."
مَكَثَ النَّبِيُّ ﷺ بِمَكَّةَ ثَلاَثَ عَشْرَةَ يَعْنِي يُوحَى إِلَيْهِ وَتُوُفِّيَ وَهُوَ ابْنُ ثَلاَثٍ وَسِتِّينَ