The Messenger of Allah ﷺ said: If anyone has a riding beast which carries him to where he can get sufficient food, he should keep the fast of Ramadan wherever he is when it comes. (Using translation from Abū Dāʾūd 2410)
قَالَ رَسُولُ اللهِ ﷺ مَنْ كَانَتْ لَهُ حَمُولَةٌ تَأْوِي إِلَى شِبَعٍ فَلْيَصُمْ رَمَضَانَ حَيْثُ أَدْرَكَهُ