The Apostle of Allah (ﷺ) used to place his camel (towards the Ka'ba) and said prayer in its direction. Sahih Muslim Book 4, Hadith 279