عَن عبد الله بن عمر قَالَ: ارْتَقَيْتُ فَوْقَ بَيْتِ حَفْصَةَ لِبَعْضِ حَاجَتِي فَرَأَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يقْضِي حَاجته مستدبر الْقبْلَة مُسْتَقْبل الشَّام
who said, "I went up to the roof of Hafsa’s house for some purpose and saw God's messenger relieving himself facing Syria, with his back to the qibla.” (Bukhari and Muslim.)