Purification
Hadith 363, 364

Mishkat al-Masabih 363, 364

Book 3: Purification

مشكاة المصابيح

Chapter 3bHow to act when relieving oneself - Section 2

باب آداب الخلاء - الفصل الثاني

363, 364Mishkat al-Masabih 363, 364
وَعَن عمر قَالَ: رَآنِي النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَأَنَا أَبُولُ قَائِمًا فَقَالَ: «يَا عُمَرُ لَا تَبُلْ قَائِمًا» فَمَا بُلْتُ قَائِمًا بَعْدُ. رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ قَالَ الشَّيْخُ الْإِمَامُ مُحْيِي السّنة : قد صَحَّ:

عَنْ حُذَيْفَةَ قَالَ: أَتَى النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ سباطة قوم فَبَال قَائِما. . قيل: كَانَ ذَلِك لعذر

‘Umar said: The Prophet saw me standing and passing water and said, "‘Umar, do not pass water standing." So I never did it again.

Tirmidhi and Ibn Majah transmitted it. The shaikh and imam Muhyi as-Sunna has given a sound tradition from Hudhaifa who said that the Prophet came to a midden and passed water standing. (Bukhari and Muslim.) It is said that that had a valid reason.

Reference:
Mishkat al-Masabih 363, 364
In-book reference:
Book 3, Hadith 75

Text, translation and grading from Sunnah.com.