We went out from Medina to Mecca with the Messenger of Allah (ﷺ) and he prayed two rak'ahs…

Sahih Muslim Book 6 Hadith 17

Sahih Muslim #693 a

The Book of Prayer - Travellers 6:17

Anas b. Malik reported:

We went out from Medina to Mecca with the Messenger of Allah (ﷺ) and he prayed two rak'ahs at each time of prayer till we returned to Medina. I said: For how long did he stay in Mecca? He said: (For) ten (days).

Chapter: The travelers’ prayer and shortening it

Grade: Sahih