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

Sunan Abu Dawud Book 4 Hadith 36

Sunan Abu Dawud #1233

Prayer (Kitab Al-Salat): Detailed Rules of Law about the Prayer during Journey 4:36

Narrated Anas b. Malik :

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. We (the people) said: Did you stay there for some time ? He replied: We stayed there ten days.

Chapter: When Should The Traveler Stop Shortening The Prayer

Grade: Sahih (Al-Albani)