[Machine] The Messenger of Allah ﷺ was praying while facing from Makkah to Madinah on his riding animal, where his face was. And in it was revealed: "So wherever you [might] turn, there is the face of Allah" (Quran 2:115).
رَسُولُ اللهِ ﷺ يُصَلِّي وَهُوَ مُقْبِلٌ مِنْ مَكَّةَ إِلَى الْمَدِينَةِ عَلَى رَاحِلَتِهِ حَيْثُ كَانَ وَجْهُهُ قَالَ وَفِيهِ نَزَلَتْ {فَأَيْنَمَا تُوَلُّوا فَثَمَّ وَجْهُ اللهِ} [البقرة 115]