Sahih Bukhari Volume 004, Book 053, Hadith Number 334.

Narated By '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.