Ibn Umar would never pray more than two units of prayer while travelling, neither before them nor after them.Someone asked him, "Why is this?"He replied, "This is how I saw the Messenger of Allah ﷺ do it."
أخبرني أحمد بن يحيى قال حدثنا أبو نعيم قال حدثنا العلاء بن زهير قال
كان ابن عمر لا يزيد في السفر على ركعتين لا يصلي قبلها ولا بعدها فقيل له ما هذا قال هكذا رأيت رسول الله ﷺ يصنع