'A'isha, the wife of the Messenger of Allah ﷺ, said Allah prescribed the prayer as two rak'ahs, then it was completed (to four rak'ahs) at the place of residence, but was retained in the same position in journey as it was first made obligatory.
The Prophet Muhammad ﷺ taught us that we should always strive to do our best in whatever situation we find ourselves in; whether at home or on a journey. He also taught us not to take any blessings or ease granted by Allah lightly and instead be thankful for them all.