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