Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:4978ʿUbaydullāh b. Mūsá > Shaybān > Yaḥyá > Abū Salamah > ʿĀʾishah And Ibn ʿAbbās

The Prophet ﷺ remained in Mecca for ten years, during which the Qur'an used to be revealed to him; and he stayed in Medina for ten years.  

البخاري:٤٩٧٨حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى عَنْ شَيْبَانَ عَنْ يَحْيَى عَنْ أَبِي سَلَمَةَ قَالَ

أَخْبَرَتْنِي عَائِشَةُ وَابْنُ عَبَّاسٍ ؓ قَالاَ لَبِثَ النَّبِيُّ ﷺ بِمَكَّةَ عَشْرَ سِنِينَ يُنْزَلُ عَلَيْهِ الْقُرْآنُ وَبِالْمَدِينَةِ عَشْرَ سِنِينَ  


See similar narrations below:

Collected by Bukhārī, Aḥmad, Ṭabarānī, Nasāʾī's Kubrá, Suyūṭī
bukhari:4464Abū Nuʿaym > Shaybān > Yaḥyá > Abū Salamah > ʿĀʾishah And Ibn ʿAbbās

The Prophet ﷺ stayed for ten years in Mecca with the Qur'an being revealed to him and he stayed in Medina for ten years.'  

البخاري:٤٤٦٤حَدَّثَنَا أَبُو نُعَيْمٍ حَدَّثَنَا شَيْبَانُ عَنْ يَحْيَى عَنْ أَبِي سَلَمَةَ

عَنْ عَائِشَةَ وَابْنِ عَبَّاسٍ ؓ أَنَّ النَّبِيَّ ﷺ لَبِثَ بِمَكَّةَ عَشْرَ سِنِينَ يُنْزَلُ عَلَيْهِ الْقُرْآنُ وَبِالْمَدِينَةِ عَشْرًا  

ahmad:2696Ḥasan > Shaybān > Yaḥyá > Abū Salamah > ʿĀʾishah And Ibn ʿAbbās

[Machine] That the Messenger of Allah ﷺ stayed in Makkah for ten years, during which the Quran was revealed to him, and in Madinah for ten years.  

أحمد:٢٦٩٦حَدَّثَنَا حَسَنٌ حَدَّثَنَا شَيْبَانُ عَنْ يَحْيَى قَالَ وَأَخْبَرَنِي أَبُو سَلَمَةَ عَنْ عَائِشَةَ وَابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللهِ ﷺ لَبِثَ بِمَكَّةَ عَشْرَ سِنِينَ يَنْزِلُ عَلَيْهِ الْقُرْآنُ وَبِالْمَدِينَةِ عَشْرًا  

tabarani:10726ʿAlī b. ʿAbd al-ʿAzīz > Abū Nuʿaym > Shaybān > Yaḥyá b. Abū Kathīr > Abū Salamah > Ibn ʿAbbās And ʿĀʾishah

[Machine] That the Prophet ﷺ stayed in Mecca for ten years, during which the Quran was revealed to him, and in Medina for ten years, during which the Quran was also revealed to him.  

الطبراني:١٠٧٢٦حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا أَبُو نُعَيْمٍ ثنا شَيْبَانُ عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ عَنْ أَبِي سَلَمَةَ عَنِ ابْنِ عَبَّاسٍ وَعَائِشَةَ

أَنَّ النَّبِيَّ ﷺ لَبِثَ بِمَكَّةَ عَشْرَ سِنِينَ يَنْزِلُ عَلَيْهِ الْقُرْآنُ وَبِالْمَدِينَةِ عَشْرَ سِنِينَ يَنْزِلُ عَلَيْهِ  

nasai-kubra:7922Muḥammad b. Rāfiʿ > Ḥusayn b. Muḥammad > Shaybān > Yaḥyá > Abū Salamah > ʿĀʾishah And Ibn ʿAbbās

The Prophet ﷺ stayed for ten years in Mecca with the Qur'an being revealed to him and he stayed in Medina for ten years.' (Using translation from Bukhārī 4464)   

الكبرى للنسائي:٧٩٢٢أَخْبَرَنَا مُحَمَّدُ بْنُ رَافِعٍ قَالَ حَدَّثَنَا حُسَيْنُ بْنُ مُحَمَّدٍ قَالَ حَدَّثَنَا شَيْبَانُ عَنْ يَحْيَى قَالَ أَخْبَرَنِي أَبُو سَلَمَةَ عَنْ عَائِشَةَ وَابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللهِ ﷺ «لَبِثَ بِمَكَّةَ عَشْرَ سِنِينَ يُنَزَّلُ عَلَيْهِ الْقُرْآنُ وَبِالْمَدِينَةِ عَشْرًا»  

suyuti:673-490bAbū Salamah And Ibn ʿAbbās
Request/Fix translation

  

السيوطي:٦٧٣-٤٩٠b

"عَنْ أَبِي سَلَمَةَ وَابْنِ عَبَّاسٍ: أَنَّ رَسُولَ اللهِ ﷺ مَكَثَ بِمَكَّةَ عَشْرَ سِنِينَ يَنْزِلُ عَلَيْهِ القُرْآنُ، وَبِالمَدِينَةِ عَشْرًا".  

[ش] ابن أبى شيبة