Hadithcore
Sunan Ibn Majah, 1076
sahih· Darussalam

It was narrated from Ibn ‘Abbas that the Messenger of Allah (ﷺ) stayed in Makkah for fifteen nights during the year of the Conquest, (during which time) he shortened his prayer.

حَدَّثَنَا أَبُو يُوسُفَ الصَّيْدَلاَنِيُّ، مُحَمَّدُ بْنُ أَحْمَدَ الرَّقِّيُّ حَدَّثَنَا مُحَمَّدُ بْنُ سَلَمَةَ، عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ، عَنِ الزُّهْرِيِّ، عَنْ عُبَيْدِ اللَّهِ بْنِ عَبْدِ اللَّهِ بْنِ عُتْبَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ أَقَامَ بِمَكَّةَ عَامَ الْفَتْحِ خَمْسَ عَشْرَةَ لَيْلَةً يَقْصُرُ الصَّلاَةَ ‏.‏

References2 variants
In-Book Reference
Book 5, Hadith 274
English Reference
Vol. 1, Book 5, Hadith 1076