Musnad Ahmad 2846
حَدَّثَنَا أَبُو كَامِلٍ ، حَدَّثَنَا حَمَّادٌ ، أَخْبَرَنَا عَمَّارُ بْنُ أَبِي عَمَّارٍ ، عَنِ ابْنِ عَبَّاسٍ ، قَالَ:" أَقَامَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِمَكَّةَ خَمْسَ عَشْرَةَ سَنَةً، سَبْعَ سِنِينَ يَرَى الضَّوْءَ وَالنُّورَ وَيَسْمَعُ الصَّوْتَ، وَثَمَانِيَ سِنِينَ يُوحَى إِلَيْهِ، وَأَقَامَ بِالْمَدِينَةِ عَشْرًا".
Abu Kamil narrated to us; he said: Hammad narrated to us; he said: ʿAmmar ibn Abi ʿAmmar informed us, from Ibn ʿAbbas, who said: The Prophet ﷺ stayed in Makkah fifteen years: seven years seeing the light and the radiance and hearing the voice, and eight years being given revelation; and he stayed in Madinah ten.