Halal
The Quran permits shortening the prayer when travelling. Anas reports that on the journey from Medina to Mecca the Prophet ﷺ prayed the prayers with two rak’ahs until he was back in Medina.
Source: Quran 4:101 with Tafsir Ibn Kathir · Sahih al-Bukhari 1081 · Sahih Muslim 693