Yahya bin Abu Ishaq narrates: I asked Sayyiduna Anas bin Malik (may Allah be pleased with him) about the shortened prayer (Qasr Salah). He replied: We traveled with the Prophet Muhammad (peace and blessings be upon him) from Madinah Munawwarah to Makkah Mukarramah, and until we returned, he continued to lead us in two rak‘ahs (for each prayer). The narrator says: I asked him: Did the Prophet (peace and blessings be upon him) stay (in Makkah)? He replied: Yes! We stayed in Makkah for ten days.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2751
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (1106): ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرطهما