Anas bin Malik reported,

We set out with the Prophet ﷺ from Medina to Mecca, and he prayed two rakahs.He said, I asked Anas, "How long did the Messenger of Allah ﷺ stay in Mecca?"He replied, "Ten days."

Tirmidhi 548

Sahih

حدثنا أحمد بن منيع حدثنا هشيم أخبرنا يحيى بن أبي إسحق الحضرمي حدثنا

أنس بن مالك قال

خرجنا مع النبي ﷺ من المدينة إلى مكة فصلى ركعتين قال قلت لأنس كم أقام رسول الله ﷺ بمكة قال عشرا

الترمذي 548صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Travel
Chapter
How much the prayer is shortened
Numbering
Darussalam 548
Tirmidhi 548