Abdullah bin Abbas reported,

Ibn Abbas reported that the Messenger of Allah ﷺ traveled from Medina to Mecca fearing none but Allah, Lord of the worlds, and he prayed two rakahs.

Azami 2862

Sahih

عن ابن عباس

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

الأعظمي 2862صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Permissibility of shortening prayer during travel even if the route is safe
Numbering
Jami al-Kamil 2862 (2nd edition)
Azami 2862