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.