Narrated 'Abd Allaah b. 'Umar :
I ascended the roof of the house and saw the Messenger of Allah ( sal Allaahu alayhi wa sallam) sitting on two bricks facing Jerusalem (Bait al-Maqdis) for relieving himself.
Narrated Jabir ibn Abdullah:
The Prophet (ﷺ) of Allah (ﷺ) forbade us to face the qiblah at the time of making water. Then I saw him facing it (qiblah) urinating or easing himself one year before his death.