"The Prophet (ﷺ) stayed in Makkah for thirteen years - meaning while he was receiving Revelation - and he died when he was sixty-three years old."
Jami` at-Tirmidhi Book 49, Hadith 48