عَنْهُ أَيْضًا قَالَ أَقَامَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ بِمَكَّةَ خَمْسَ عَشْرَةَ سَنَةً سَبْعَ سِنِينَ يَرَى الضَّوْءَ وَيَسْمَعُ الصَّوْتَ وَثَمَانِيَ سِنِينَ يُوحَى إِلَيْهِ وَأَقَامَ بِالْمَدِينَةِ عَشْرَ سِنِينَ
Sayyiduna Ibn Abbas (may Allah be pleased with them both) also narrates that the Noble Prophet (peace and blessings be upon him) stayed in Makkah for fifteen years; during seven of those years, he would see light and hear voices, and for eight years, revelation continued to descend. And the Prophet (peace and blessings be upon him) resided in Madinah Munawwarah for ten years.