Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that I climbed onto the roof of (my sister) Sayyidah Hafsah’s (may Allah be pleased with her) house, and I saw the Messenger of Allah (peace and blessings be upon him) facing Bayt al-Maqdis and with his back towards the Ka’bah while relieving himself.
Hadith Referenceالمنتقى ابن الجارود / كتاب الطهارة / 30