Sahih al-Bukhari

Sahih al-Bukhari 4464, 4465

Arabic hadith text

حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا شَيْبَانُ، عَنْ يَحْيَى، عَنْ أَبِي سَلَمَةَ، عَنْ عَائِشَةَ، وَابْنِ، عَبَّاسٍ رضى الله عنهم أَنَّ النَّبِيَّ صلى الله عليه وسلم لَبِثَ بِمَكَّةَ عَشْرَ سِنِينَ يُنْزَلُ عَلَيْهِ الْقُرْآنُ، وَبِالْمَدِينَةِ عَشْرًا‏.‏

Translation

Abu Nu‘aym related to us: Shayban related to us, from Yahya, from Abu Salama, from Aisha and Ibn Abbas (may Allah be pleased with them), that the Prophet remained in Mecca for ten years while the Quran was being revealed to him, and in Medina for ten years.