صحيح البخاري
From Sahih Bukhari (Hadith 3102):
Narrated `Abdullah bin `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
Reference: Bukhari 3102