ENOfficial
Ibn 'Umar said: The Messenger of Allah (ﷺ) used to place his camel (towards the Ka'ba) and said prayer in its direction.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ، حَدَّثَنَا مُعْتَمِرُ بْنُ سُلَيْمَانَ، عَنْ عُبَيْدِ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ يَعْرِضُ رَاحِلَتَهُ وَهُوَ يُصَلِّي إِلَيْهَا .
sunnah.com