Sahih Muslim , Book 30, Hadith 5799 (USC-MSA) ⓘ
'Amr reported: I said to 'Urwa: How long did Allah's Apostle - stay in Mecca? He said: For ten years. I said: Ibn 'Abbas says (that he stayed in Mecca) for thirteen years.
حَدَّثَنَا أَبُو مَعْمَرٍ، إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ الْهُذَلِيُّ حَدَّثَنَا سُفْيَانُ، عَنْ عَمْرٍو، قَالَ قُلْتُ لِعُرْوَةَ كَمْ كَانَ النَّبِيُّ صلى الله عليه وسلم بِمَكَّةَ قَالَ عَشْرًا . قَالَ قُلْتُ فَإِنَّ ابْنَ عَبَّاسٍ يَقُولُ ثَلاَثَ عَشْرَةَ .
also referenced under: Book 43, Hadith 152 (In-Book) & Hadith 2350 (Reference)