حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، وَعَبْدُ الأَعْلَى، قَالاَ حَدَّثَنَا يَحْيَى بْنُ أَبِي إِسْحَاقَ، عَنْ أَنَسٍ، قَالَ خَرَجْنَا مَعَ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ مِنَ الْمَدِينَةِ إِلَى مَكَّةَ فَصَلَّى رَكْعَتَيْنِ رَكْعَتَيْنِ حَتَّى رَجَعْنَا ‏.‏ قُلْتُ كَمْ أَقَامَ بِمَكَّةَ قَالَ عَشْرًا ‏.‏

Yahyabin Abu Ishaq narrated that Anas said: “We went out with theMessenger of Allah (PBUH) from Al-Madinah to Makkah, during which timewe shortened our prayer to two Rak’ah, until we came back.” Iasked:“How long did he stay in Makkah?” He said: “Ten (days).” Translation Not Available

Book Ref: Sunan Ibn Majah Book 5 Hadith 1077
Web Ref:  Sunan Ibn Majah Vol 1 Book 5 Hadith 1077