It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that one day I climbed onto the roof of my house and saw that the Prophet (peace and blessings be upon him) was sitting facing towards Syria on two bricks, relieving himself.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 4991