Sahih Muslim, Book 2, Hadith 79 (Muslim 609)

Abdullah b. Umar said:

I went up to the roof of the house of my sister Hafsa and saw the Messenger of Allah (ﷺ) relieving himself facing Syria. with his back to the Qibla.