Sahih al-Bukhari 4297
Sahih al-Bukhari · Book 64: Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) · The stay of the Prophet (saws) in Makkah
Narrated Anas:
حَدَّثَنَا أَبُو نُعَيْمٍ ، حَدَّثَنَا سُفْيَانُ ،. حَدَّثَنَا قَبِيصَةُ ، حَدَّثَنَا سُفْيَانُ ، عَنْ يَحْيَى بْنِ أَبِي إِسْحَاقَ ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَ أَقَمْنَا مَعَ النَّبِيِّ صلى الله عليه وسلم عَشْرًا نَقْصُرُ الصَّلاَةَ.
We stayed (in Mecca) for ten days along with the Prophet (ﷺ) and used to offer shortened prayers (i.e. journey prayers).