Sahih al-Bukhari
Sahih al-Bukhari 4978, 4979
Arabic hadith text
حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ شَيْبَانَ، عَنْ يَحْيَى، عَنْ أَبِي سَلَمَةَ، قَالَ أَخْبَرَتْنِي عَائِشَةُ، وَابْنُ، عَبَّاسٍ رضى الله عنهم قَالاَ لَبِثَ النَّبِيُّ صلى الله عليه وسلم بِمَكَّةَ عَشْرَ سِنِينَ يُنْزَلُ عَلَيْهِ الْقُرْآنُ وَبِالْمَدِينَةِ عَشْرَ سِنِينَ.
Translation
Ubayd Allah ibn Musa related to us, from Shayban, from Yahya, from Abu Salama, who said: Aisha and Ibn Abbas (may Allah be pleased with them) informed me: The Prophet (peace and blessings be upon him) remained in Mecca for ten years while the Quran was being revealed to him, and in Medina for ten years.