"The Messenger of Allah forbade the person who went to the Gha'it to face the Qiblah. He said: 'face towards the east or the west.'" (Using translation from Ibn Mājah 318)
نَهَى رَسُولُ اللهِ ﷺ أَنْ يَسْتَقْبِلَ الْقِبْلَةَ الَّذِي يَذْهَبُ إِلَى الْغَائِطِ وَقَالَ «شَرِّقُوا أَوْ غَرِّبُوا»