Anas ibn Malik reported: We went out with the Messenger of Allah, peace and blessings be upon him, from Medina to Mecca and he would pray two cycles at a time until he returned. Yahya ibn Abi Ishaq said, “How long did he remain in Mecca?” Anas said, “Ten days.”
Source: Ṣaḥīḥ al-Bukhārī 1081, Ṣaḥīḥ Muslim 693
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ خَرَجْنَا مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مِنْ الْمَدِينَةِ إِلَى مَكَّةَ فَصَلَّى رَكْعَتَيْنِ رَكْعَتَيْنِ حَتَّى رَجَعَ قال يحيى بن أبي إسحق كَمْ أَقَامَ بِمَكَّةَ قَالَ عَشْرًا
1031 صحيح البخاري كتاب تقصير الصلاة باب ما جاء في التقصير وكم يقيم حتى يقصر
693 صحيح مسلم كتاب صلاة المسافرين وقصرها باب صلاة المسافرين وقصرها