Mishkat al-Masabih 1336
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.)
وَعَنْ أَنَسٍ قَالَ: خَرَجْنَا مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ من الْمَدِينَةِ إِلَى مَكَّةَ فَكَانَ يُصَلِّي رَكْعَتَيْنِ رَكْعَتَيْنِ حَتَّى رَجَعْنَا إِلَى الْمَدِينَةِ قِيلَ لَهُ: أَقَمْتُمْ بِمَكَّة شَيْئا قَالَ: «أَقَمْنَا بهَا عشرا»