[Machine] On the authority of the Prophet ﷺ , he said: "When one of you goes to the bathroom, he should not face the qibla (direction of prayer) nor turn his back to it. Rather, turn to the east or west."
عَنِ النَّبِيِّ ﷺ قَالَ «إِذَا ذَهَبَ أَحَدُكُمْ إِلَى الْغَائِطِ فَلَا يَسْتَقْبِلِ الْقِبْلَةَ وَلَا يَسْتَدْبِرْهَا وَلَكِنْ شَرِّقُوا وَغَرِّبُوا»