[Machine] The Prophet ﷺ used to pray on his riding animal wherever it turned. Abdullah bin Dinari said, "Ibn Umar used to do the same, following the narration of Yahya bin Yahya. In another narration by Ash-Shafi'i, he said, 'The Prophet ﷺ used to pray on his riding animal during travel, wherever it turned, but it is not mentioned what came after that.'"
كَانَ رَسُولُ اللهِ ﷺ يُصَلِّي عَلَى رَاحِلَتِهِ حَيْثُمَا تَوَجَّهَتْ بِهِ قَالَ عَبْدُ اللهِ بْنُ دِينَارٍ كَانَ ابْنُ عُمَرَ يَفْعَلُ ذَلِكَ لَفْظُ حَدِيثِ يَحْيَى بْنِ يَحْيَى وَفِي رِوَايَةِ الشَّافِعِيِّ قَالَ كَانَ رَسُولُ اللهِ ﷺ يُصَلِّي عَلَى رَاحِلَتِهِ فِي السَّفَرِ حَيْثُمَا تَوَجَّهَتْ بِهِ وَلَمْ يَذْكُرْ مَا بَعْدَهُ