Hadithcore
Hadith #2105290

Narrated Ibn 'Abbas (RA):

The Prophet (ﷺ) (made a journey during which) he had a stop of nineteen days, during which he shortened his prayers. [Al-Bukhari] And in a narration: "(he (ﷺ) stayed) nineteen days in Makkah."

وَعَنْ اِبْنِ عَبَّاسٍ رَضِيَ اَللَّهُ عَنْهُمَا قَالَ: { أَقَامَ اَلنَّبِيُّ ‏- صلى الله عليه وسلم ‏-تِسْعَةَ عَشَرَ يَقْصُرُ } وَفِي لَفْظٍ: { بِمَكَّةَ تِسْعَةَ عَشَرَ يَوْمًا } رَوَاهُ اَلْبُخَارِيّ ُ [1]‏ .‏

References2 variants
Sunnah.com reference
Book 2, Hadith 345
Arabic/English book reference
Book 2, Hadith 430