We stayed (in Mecca) for ten days along with the Prophet (ﷺ) and used to offer shortened…

Sahih al-Bukhari Book 64 Hadith 330

Sahih al-Bukhari #4297

Military Expeditions led by the Prophet (pbuh) (Al-Maghaazi) 64:330

Narrated Anas:

We stayed (in Mecca) for ten days along with the Prophet (ﷺ) and used to offer shortened prayers (i.e. journey prayers).

Chapter: The stay of the Prophet (saws) in Makkah

Grade: Sahih