"Do not face towards the Qiblah nor turn your backs toward it when defecating or urinating, rather face toward the east or the west." (Using translation from Nasāʾī 21)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «لَا تَسْتَقْبِلُوا الْقِبْلَةَ وَلَا تَسْتَدْبِرُوهَا وَلَكِنْ شَرِّقُوا وَغَرِّبُوا»