Sahih Muslim, Book 43, Hadith 152 (Muslim 6029)

'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.