عَنْ أَنَسٍ: أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ صَلَّى الظُّهْرَ بِالْمَدِينَةِ أَرْبَعًا وَصَلَّى الْعَصْر بِذِي الحليفة رَكْعَتَيْنِ
Translation
Anas said

We went out from Medina to Mecca with God’s Messenger and he prayed two rak'as at each time of prayer till we returned to Medina. On being asked whether they had stayed any length of time in Mecca, he replied that they had stayed ten days. (Bukhari and Muslim.)