حَدَّثَنَا أَبُو بَكْرِ بْنُ خَلاَّدٍ، حَدَّثَنَا وَكِيعٌ، حَدَّثَنَا أُسَامَةُ بْنُ زَيْدٍ، قَالَ سَأَلْتُ طَاوُسًا عَنِ السُّبْحَةِ، فِي السَّفَرِ - وَالْحَسَنُ بْنُ مُسْلِمِ بْنِ يَنَّاقٍ جَالِسٌ عِنْدَهُ - فَقَالَ حَدَّثَنِي طَاوُسٌ، أَنَّهُ سَمِعَ ابْنَ عَبَّاسٍ، يَقُولُ فَرَضَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ صَلاَةَ الْحَضَرِ وَصَلاَةَ السَّفَرِ فَكُنَّا نُصَلِّي فِي الْحَضَرِ قَبْلَهَا وَبَعْدَهَا وَكُنَّا نُصَلِّي فِي السَّفَرِ قَبْلَهَا وَبَعْدَهَا ‏.‏

Usamahbin Zaid said: “I asked Tawus about performing voluntaryprayerwhile traveling. Al-Hasan bin Muslim bin Yannaq was sittingwith himand he said: ‘Tawus told me that he heard Ibn ‘Abbas say:“TheMessenger of Allah (PBUH) enjoined prayer while a resident andprayerwhen one is traveling. We used to pray when we were residentsbothbefore and after (the obligatory prayer), and we used to praybothbefore and after (the obligatory prayer) when we weretraveling.’” Translation Not Available

Book Ref: Sunan Ibn Majah Book 5 Hadith 1072
Web Ref:  Sunan Ibn Majah Vol 1 Book 5 Hadith 1072