Sunan Abi Dawud, Book 1, Hadith 12 (Abu Dawud 12)

Narrated 'Abd Allaah b. 'Umar :

I ascended the roof of the house and saw the Apostle of Allaah ( sal Allaahu alayhi wa sallam) sitting on two bricks facing Jerusalem (Bait al-Maqdis) for relieving himself.