BUKHARI 3102: from ʿAbdullāh b. ʿUmar —
Once I went upstairs in Hafsa's house and saw the Prophet ﷺ answering the call of nature with his back towards the Qibla and facing Sham.

البخاري ٣١٠٢: عن عبد الله بن عمر —
ارْتَقَيْتُ فَوْقَ بَيْتِ حَفْصَةَ فَرَأَيْتُ النَّبِيَّ ﷺ يَقْضِي حَاجَتَهُ مُسْتَدْبِرَ الْقِبْلَةِ مُسْتَقْبِلَ الشَّأْمِ


Sound (Bukhārī)
Bukhārī > Khumus (One-fifth of Booty to the Cause of Allah) > § The houses of the wives of the Prophet saws
hadithunlocked.com