"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)
نَهَى رَسُولُ اللهِ ﷺ أَنْ يَسْتَقْبِلَ الَّذِي يَذْهَبُ الْغَائِطَ الْقِبْلَةَ وَقَالَ «شَرِّقُوا أَوْ غَرِّبُوا»