(85) باب وَفَاةِ النَّبِيِّ صلى الله عليه وسلم
Narrated Aisha and Ibn `Abbas:
The Prophet (ﷺ) stayed for ten years in Mecca with the Qur'an being revealed to him and he stayed in Medina for ten years.'
Reference: Sahih al-Bukhari 4464, 4465
In-book reference: Book 64, Hadith 480
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 5, Book 59, Hadith 741