Allah's Messenger (ﷺ) said, "If anyone of you goes to an open space for answering the call of nature he should neither face nor turn his back towards the Qibla; he should either face the east or the west."
Reference: Sahih al-Bukhari 144 In-book : Book 4, Hadith 10 USC-MSA web (English) : Vol. 1, Book 4, Hadith 146 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.