وَلِلسَّبْعَةِ مِنْ حَدِيثِ أَبِي أَيُّوبَ رضى الله عنه «لَا تَسْتَقْبِلُوا اَلْقِبْلَةَ بِغَائِطٍ وَلَا بَوْلٍ، وَلَكِنْ شَرِّقُوا أَوْ غَرِّبُوا»
The Messenger of Allah (sallallahu alayhi wa sallam) “Neither face nor turn your back to the Qiblah while defecating or urinating, but turn towards the east or the west”.