Abdullah bin Abbas reported,

The Messenger of Allah ﷺ established the prayer of residence and the prayer of travel. We used to pray before and after it while at home, and we also used to pray before and after it while traveling.

Ibn Majah 1072

Hasan

حدثنا أبو بكر بن خلاد حدثنا وكيع حدثنا أسامة بن زيد قال سألت طاوسا عن السبحة في السفر والحسن بن مسلم بن يناق جالس عنده فقال حدثني طاوس أنه سمع

ابن عباس يقول

فرض رسول الله ﷺ صلاة الحضر وصلاة السفر فكنا نصلي في الحضر قبلها وبعدها وكنا نصلي في السفر قبلها وبعدها

ابن ماجه 1072حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Voluntary prayers during travel
Numbering
Darussalam 1072
Ibn Majah 1072