Sunan an-Nasa'i 21
سنن النسائي#21SahihIt was narrated from Abu Ayyub that the Prophet (ﷺ) said:"Do not face towards the Qiblah nor turn your backs toward it when defecating or urinating, rather face toward the east or the west
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Abu GhuddahSahih
Al-AlbaniSahih
Zubair Ali ZaiSahih - Agreed Upon
In-book reference: 1:21