Purification

Hadith 281–562

كتاب الطهارة

Chapter 3aHow to act when relieving oneself - Section 1

باب آداب الخلاء - الفصل الأول

339Mishkat al-Masabih 339Sahih
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: اتَّقُوا اللَّاعِنَيْنِ. قَالُوا: وَمَا اللَّاعِنَانِ يَا رَسُولَ اللَّهِ؟ . قَالَ: «الَّذِي يَتَخَلَّى فِي طَرِيقِ النَّاس أَو فِي ظلهم» . رَوَاهُ مُسلم

Abu Huraira reported God's messenger as saying, "Guard against the two things which produce cursing.” He was asked what they were and said, "Relieving oneself where people walk, or where they sit in the shade.”

Muslim transmitted it.

Grade:
صَحِيحٌ (الألباني)
Reference:
Mishkat al-Masabih 339
In-book reference:
Book 3, Hadith 51
340Mishkat al-Masabih 340Sahih
وَعَنْ أَبِي قَتَادَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «إِذا شرب أحدكُم فَلَا ينتنفس فِي الْإِنَاءِ وَإِذَا أَتَى الْخَلَاءَ فَلَا يَمَسَّ ذَكَرَهُ بِيَمِينِهِ وَلَا يَتَمَسَّحْ بِيَمِينِهِ»

Abu Qatada reported God’s messenger as saying, "When one of you drinks he must not breathe into the vessel, and when he goes to relieve himself he must not touch his penis with his right hand, or wipe himself with his right hand.”

(Bukhari and Muslim.)

Grade:
مُتَّفَقٌ عَلَيْهِ (الألباني)
Reference:
Mishkat al-Masabih 340
In-book reference:
Book 3, Hadith 52
341Mishkat al-Masabih 341Sahih
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: (قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: مَنْ تَوَضَّأَ فَلْيَسْتَنْثِرْ وَمَنِ اسْتَجْمَرَ فليوتر "

Abu Huraira reported God’s messenger as saying, "When anyone performs ablution he must clear his nose, and when anyone wipes himself with stones he must make use of an odd number.”

(Bukhari and Muslim.)

Grade:
مُتَّفَقٌ عَلَيْهِ (الألباني)
Reference:
Mishkat al-Masabih 341
In-book reference:
Book 3, Hadith 53
342Mishkat al-Masabih 342Sahih
وَعَنْ أَنَسٍ قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَدْخُلُ الْخَلَاءَ فَأَحْمِلُ أَنَا وَغُلَامٌ إِدَاوَةً مِنْ مَاءٍ وَعَنَزَةً يستنجي بِالْمَاءِ

Anas said, "When God’s messenger entered the privy, a servant and I used to carry a skin of water and a pointed staff, and he would cleanse himself with the water.”

(Bukhari and Muslim.)

Grade:
مُتَّفَقٌ عَلَيْهِ (الألباني)
Reference:
Mishkat al-Masabih 342
In-book reference:
Book 3, Hadith 54

Chapter 3bHow to act when relieving oneself - Section 2

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

343Mishkat al-Masabih 343Da'if
عَنْ أَنَسٍ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا دَخَلَ الْخَلَاءَ نَزَعَ خَاتَمَهُ. رَوَاهُ أَبُو دَاوُدَ وَالنَّسَائِيُّ وَالتِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ وَقَالَ أَبُو دَاوُدَ: هَذَا حَدِيثٌ مُنْكَرٌ. وَفِي رِوَايَتِهِ وَضَعَ بَدَلَ نزع

Anas said that when the Prophet entered the privy he took off his ring.

Abu Dawud, Nasa’i and Tirmidhi transmitted it. Tirmidhi said this is a hasan sahih gharib tradition, and Abu Dawud said this is a rejected (munkar) tradition. His version has "laid down” instead of "took off".

Grade:
ضَعِيف (الألباني)
Reference:
Mishkat al-Masabih 343
In-book reference:
Book 3, Hadith 55
344Mishkat al-Masabih 344Sahih
وَعَنْ جَابِرٍ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا أَرَادَ الْبَرَازَ انْطَلَقَ حَتَّى لَا يرَاهُ أحد. رَوَاهُ أَبُو دَاوُد

Jabir said that when the Prophet wished to relieve himself he went off where no one could see him.

Abu Dawud transmitted it.

Grade:
صَحِيح (الألباني)
Reference:
Mishkat al-Masabih 344
In-book reference:
Book 3, Hadith 56
345Mishkat al-Masabih 345Da'if
وَعَنْ أَبِي مُوسَى قَالَ: كُنْتُ مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ذَاتَ يَوْمٍ فَأَرَادَ أَنْ يَبُولَ فَأَتَى دَمِثًا فِي أَصْلِ جِدَارٍ فَبَال ثُمَّ قَالَ: «إِذَا أَرَادَ أَحَدُكُمْ أَنْ يَبُولَ فليرتد لبوله» . رَوَاهُ أَبُو دَاوُد

Abu Musa said: One day when I was with the Prophet he wanted to pass water, so he went to some soft ground at the foot of a wall and did it, after which he said, "When any of you wishes to pass water, he should look for [a place like this] to do it in.”

Abu Dawud transmitted it.

Grade:
ضَعِيف (الألباني)
Reference:
Mishkat al-Masabih 345
In-book reference:
Book 3, Hadith 57
346Mishkat al-Masabih 346Sahih
وَعَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا أَرَادَ الْحَاجَةَ لَمْ يَرْفَعْ ثَوْبَهُ حَتَّى يَدْنُوَ مِنَ الأَرْض. رَوَاهُ التِّرْمِذِيّ وَأَبُو دَاوُد والدارمي

Anas said that when the Prophet wanted to relieve himself he did not raise his garment till he was near the ground.

Tirmidhi, Abu Dawud and Darimi transmitted it.

Grade:
صَحِيحٌ (الألباني)
Reference:
Mishkat al-Masabih 346
In-book reference:
Book 3, Hadith 58
347Mishkat al-Masabih 347Hasan
وَعَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " إِنَّمَا أَنَا لَكُمْ مِثْلُ الْوَالِدِ لِوَلَدِهِ أُعَلِّمُكُمْ إِذَا أَتَيْتُمُ الْغَائِطَ فَلَا تَسْتَقْبِلُوا الْقِبْلَةَ وَلَا تَسْتَدْبِرُوهَا وَأَمَرَ بِثَلَاثَةِ أَحْجَارٍ وَنَهَى عَنِ الرَّوْثِ وَالرِّمَّةِ وَنَهَى أَنْ يَسْتَطِيبَ الرَّجُلُ بِيَمِينِهِ. رَوَاهُ ابْنُ مَاجَهْ وَالدَّارِمِيُّ

Abu Huraira reported God’s messenger as saying, "I am to you just like a father to his son, for I give you instruction. When you go to relieve yourselves do not face or turn your back to the qibla.” He commanded that three stones be used, he forbade the use of dung and decayed bones, and he forbade that a man should cleanse himself with his right hand.

Ibn Majah and Darimi transmitted it.

Grade:
حسن (الألباني)
Reference:
Mishkat al-Masabih 347
In-book reference:
Book 3, Hadith 59
348Mishkat al-Masabih 348Sahih
وَعَن عَائِشَة قَالَتْ: كَانَتْ يَدُ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْيُمْنَى لِطَهُورِهِ وَطَعَامِهِ وَكَانَتْ يَدُهُ الْيُسْرَى لِخَلَائِهِ وَمَا كَانَ مِنْ أَذًى. رَوَاهُ أَبُو دَاوُد

‘A'isha said, “God’s messenger used his right hand for his ablution water and his food, and his left hand for his evacuations and anything objectionable.”

Abu Dawud transmitted it.

Grade:
صَحِيح (الألباني)
Reference:
Mishkat al-Masabih 348
In-book reference:
Book 3, Hadith 60
349Mishkat al-Masabih 349Hasan
وَعَنْهَا قَالَتْ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا ذَهَبَ أَحَدُكُمْ إِلَى الْغَائِطِ فَلْيَذْهَبْ مَعَهُ بِثَلَاثَةِ أَحْجَارٍ يَسْتَطِيبُ بِهِنَّ فَإِنَّهَا تُجْزِئُ عَنْهُ» . رَوَاهُ أَحْمَدُ وَأَبُو دَاوُدَ وَالنَّسَائِيُّ وَالدَّارِمِيُّ

She also reported God’s messenger as saying, “When one of you goes to relieve himself he should take with him three stones with which to cleanse himself, for they will be enough for him.”

Ahmad, Abu Dawud, Nasa’i and Darimi transmitted it.

Grade:
حَسَنٌ (الألباني)
Reference:
Mishkat al-Masabih 349
In-book reference:
Book 3, Hadith 61
350Mishkat al-Masabih 350Sahih
وَعَنِ ابْنِ مَسْعُودٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا تَسْتَنْجُوا بِالرَّوْثِ وَلَا بِالْعِظَامِ فَإِنَّهَا زَادُ إِخْوَانِكُمْ مِنَ الْجِنِّ» . رَوَاهُ التِّرْمِذِيُّ وَالنَّسَائِيُّ إِلَّا أَنَّهُ لَمْ يَذْكُرْ: «إخْوَانكُمْ من الْجِنّ»

Ibn Mas'ud reported God’s messenger as saying, “Do not cleanse yourselves with excrement or bones, for that is the provision of your brethren among the jinn.”

Tirmidhi transmitted it, as also Nasa'i, but he did not mention “the provision of your brethren among the jinn.”

Grade:
صَحِيح (الألباني)
Reference:
Mishkat al-Masabih 350
In-book reference:
Book 3, Hadith 62
351Mishkat al-Masabih 351Sahih
وَعَن رويفع بن ثَابت قَالَ: قَالَ لِي رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: يَا رُوَيْفِعُ لَعَلَّ الْحَيَاةَ سَتَطُولُ بِكَ بَعْدِي فَأَخْبِرِ النَّاسَ أَنَّ مَنْ عَقَدَ لِحْيَتَهُ أَوْ تَقَلَّدَ وَتَرًا أَوِ اسْتَنْجَى بِرَجِيعِ دَابَّة أَو عظم فَإِن مُحَمَّدًا بَرِيء مِنْهُ. رَوَاهُ أَبُو دَاوُد

Ruwaifi' b. Thabit told that God’s messenger said to him, “You may live for a long time after I am gone, Ruwaifi', so tell people that if anyone ties his beard, or wears round his neck a string to ward off the evil eye, or cleanses himself with animal dung or bone, Muhammad has nothing to do with him.

Abu Dawud transmitted it.

Grade:
صَحِيح (الألباني)
Reference:
Mishkat al-Masabih 351
In-book reference:
Book 3, Hadith 63
352Mishkat al-Masabih 352Da'if
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنِ اكْتَحَلَ فَلْيُوتِرْ مَنْ فَعَلَ فَقَدْ أَحْسَنَ وَمَنْ لَا فَلَا حَرَجَ وَمَنِ اسْتَجْمَرَ فَلْيُوتِرْ مَنْ فَعَلَ فَقَدْ أَحْسَنَ وَمَنْ لَا فَلَا حرج وَمن أكل فَمَا تخَلّل فليلفظ وَمَا لَاكَ بِلِسَانِهِ فَلْيَبْتَلِعْ مَنْ فَعَلَ فَقَدْ أَحْسَنَ وَمَنْ لَا فَلَا حَرَجَ وَمَنْ أَتَى الْغَائِط فليستتر وَمن لَمْ يَجِدْ إِلَّا أَنْ يَجْمَعَ كَثِيبًا مِنْ رَمْلٍ فَلْيَسْتَدْبِرْهُ فَإِنَّ الشَّيْطَانَ يَلْعَبُ بِمَقَاعِدِ بَنِي آدَمَ مَنْ فَعَلَ فَقَدْ أَحْسَنَ وَمَنْ لَا فَلَا حَرَجَ» . رَوَاهُ أَبُو دَاوُدَ وَابْنُ مَاجَهْ والدارمي

Abu Huraira reported God’s messenger as saying, “If anyone applies collyrium he should do it an odd number of times. If one does so he has done well, but if not, there is no harm. If anyone cleanses himself with stones he should make use of an odd number. If one does so he has done well, but if not, there is no harm. If anyone eats he should throw away what he removes with a toothpick and swallow what he removes with his tongue. If one does so he has done well, but if not, there is no harm. If one goes to relieve himself he should conceal himself, and if all he can do is to collect a heap of sand he should sit with his back to it, for the devil makes sport with the posteriors of the children of Adam. If one does so he has done well, but if not, there is no harm.”

Abu Dawud, Ibn Majah and Darimi transmitted it.

Grade:
ضَعِيفٌ (الألباني)
Reference:
Mishkat al-Masabih 352
In-book reference:
Book 3, Hadith 64
353Mishkat al-Masabih 353Da'if
وَعَنْ عَبْدِ اللَّهِ بْنِ مُغَفَّلٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا يَبُولَنَّ أَحَدُكُمْ فِي مُسْتَحَمِّهِ ثُمَّ يَغْتَسِلُ فِيهِ أَوْ يَتَوَضَّأُ فِيهِ فَإِنَّ عَامَّةَ الْوَسْوَاسِ مِنْهُ» . رَوَاهُ أَبُو دَاوُدَ وَالتِّرْمِذِيُّ وَالنَّسَائِيُّ إِلَّا أَنَّهُمَا لم يذكرَا: «ثمَّ يغْتَسل فِيهِ أويتوضأ فِيهِ»

'Abdullah b. Mughaffal reported God's messenger as saying, “No one must pass water where he bathes and then wash in it or perform ablution in it, for all evil promptings come from it.”

Abu Dawud transmitted it, as did Tirmidhi and Nasa’i, but they did not mention “then wash in it or perform ablution in it”.

Grade:
ضَعِيف (الألباني)
Reference:
Mishkat al-Masabih 353
In-book reference:
Book 3, Hadith 65
354Mishkat al-Masabih 354
وَعَن عبد الله بن سرجس قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا يَبُولَنَّ أَحَدُكُمْ فِي جُحْرٍ» . رَوَاهُ أَبُو دَاوُد وَالنَّسَائِيّ

'Abdullah b. Sarjis reported God’s messenger as saying, "None of you must pass water in a [snake's] hole".

Abu Dawud and Nasa'i transmitted it.

Grade:
لم تتمّ دراسته (الألباني)
Reference:
Mishkat al-Masabih 354
In-book reference:
Book 3, Hadith 66
355Mishkat al-Masabih 355Da'if
وَعَنْ مُعَاذٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " اتَّقُوا الْمَلَاعِنَ الثَّلَاثَةَ: الْبَرَازَ فِي الْمَوَارِدِ وَقَارِعَةِ الطَّرِيقِ وَالظِّلِّ ". رَوَاهُ أَبُو دَاوُد وَابْن مَاجَه

Mu'adh reported God's messenger as saying, "Guard against the three things which produce cursing: relieving oneself in watering-places, in the middle of the road, and in the shade.”

Abu Dawud and Ibn Majah transmitted it.

Grade:
ضَعِيف (الألباني)
Reference:
Mishkat al-Masabih 355
In-book reference:
Book 3, Hadith 67
356Mishkat al-Masabih 356Da'if
وَعَنْ أَبِي سَعِيدٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا يَخْرُجِ الرَّجُلَانِ يَضْرِبَانِ الْغَائِطَ كَاشِفَيْنِ عَنْ عَوْرَتِهِمَا يَتَحَدَّثَانِ فَإِنَّ اللَّهَ يَمْقُتُ عَلَى ذَلِكَ» . رَوَاهُ أَحْمَدُ وَأَبُو دَاوُدَ وَابْنُ مَاجَهْ

Abu Sa'id reported God’s messenger as saying, "Two people should not go together to relieve themselves and uncover their private parts and talk, for God is angry with that.”

Ahmad, Abu Dawud and Ibn Majah transmitted it.

Grade:
ضَعِيف (الألباني)
Reference:
Mishkat al-Masabih 356
In-book reference:
Book 3, Hadith 68
357Mishkat al-Masabih 357Sahih
وَعَنْ زَيْدِ بْنِ أَرْقَمَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " إِنَّ هَذِهِ الْحُشُوشَ مُحْتَضَرَةٌ فَإِذَا أَتَى أَحَدُكُمُ الْخَلَاءَ فَلْيَقُلْ: أَعُوذُ بِاللَّهِ مِنَ الْخُبْثِ والخبائث ". رَوَاهُ أَبُو دَاوُد وَابْن مَاجَه

Zaid b. Arqam reported God's messenger as saying, "These privies are peopled by jinn and devils, so when one of you goes there he should say, ‘I seek refuge in God from male and female devils.”

Abu Dawud and Ibn Majah transmitted it.

Grade:
صَحِيح (الألباني)
Reference:
Mishkat al-Masabih 357
In-book reference:
Book 3, Hadith 69
358Mishkat al-Masabih 358Sahih
وَعَنْ عَلِيٍّ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «سَتْرُ مَا بَيْنَ أَعْيُنِ الْجِنِّ وَعَوْرَاتِ بَنِي آدَمَ إِذَا دَخَلَ أَحَدُهُمُ الْخَلَاءَ أَنْ يَقُولَ بِسْمِ اللَّهِ» . رَوَاهُ التِّرْمِذِيُّ وَقَالَ: هَذَا حَدِيثٌ غَرِيبٌ وَإِسْنَاده لَيْسَ بِقَوي

‘Ali reported God’s messenger as saying, "The covering between the eyes of the jinn and the private parts of the children of Adam when one of them enters the privy is provided by his saying, ‘In the name of God.’”

Tirmidhi transmitted it, saying that this is a gharib tradition and that its isnad is not strong.

Grade:
صَحِيح لغيره (الألباني)
Reference:
Mishkat al-Masabih 358
In-book reference:
Book 3, Hadith 70
359Mishkat al-Masabih 359Sahih
وَعَنْ عَائِشَةَ قَالَتْ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا خَرَجَ مِنَ الْخَلَاءِ قَالَ «غفرانك» . رَوَاهُ التِّرْمِذِيّ وَابْن مَاجَه والدارمي

‘A'isha told that when the Prophet came out from the privy he said, "Grant Thy forgiveness.”

Tirmidhi, Ibn Majah and Darimi transmitted it.

Grade:
صَحِيح (الألباني)
Reference:
Mishkat al-Masabih 359
In-book reference:
Book 3, Hadith 71
360Mishkat al-Masabih 360Hasan
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا أَتَى الْخَلَاءَ أَتَيْتُهُ بِمَاءٍ فِي تَوْرٍ أَوْ رَكْوَةٍ فَاسْتَنْجَى ثُمَّ مَسَحَ يَدَهُ عَلَى الْأَرْضِ ثُمَّ أَتَيْتُهُ بِإِنَاءٍ آخَرَ فَتَوَضَّأَ. رَوَاهُ أَبُو دَاوُد وروى الدَّارمِيّ وَالنَّسَائِيّ مَعْنَاهُ

Abu Huraira said, "When the Prophet went to the privy I brought him water in a small vessel or a skin and he cleaned himself, after which he wiped his hand on the ground. I then brought him another vessel and he performed ablution.”

Abu Dawud transmitted it, and Darimi and Nasa’i transmitted something similar.

Grade:
حَسَنٍ (الألباني)
Reference:
Mishkat al-Masabih 360
In-book reference:
Book 3, Hadith 72
361Mishkat al-Masabih 361Sahih
وَعَن الحكم بن سُفْيَان قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا بَالَ تَوَضَّأَ وَنَضَحَ فَرْجَهُ. رَوَاهُ أَبُو دَاوُد وَالنَّسَائِيّ

Al-Hakam b. Sufyan said that when the Prophet passed water he performed ablution and sprinkled his penis.

Abu Dawud and Nasa’i transmitted it.

Grade:
صَحِيح (الألباني)
Reference:
Mishkat al-Masabih 361
In-book reference:
Book 3, Hadith 73
362Mishkat al-Masabih 362Hasan
وَعَن أُمَيْمَة بنت رقيقَة قَالَتْ: كَانَ لِلنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَدَحٌ مِنْ عَيْدَانٍ تَحْتَ سَرِيرِهِ يَبُولُ فِيهِ بِاللَّيْلِ. رَوَاهُ أَبُو دَاوُد وَالنَّسَائِيّ

Umaima daughter of Ruqaiqa said that the Prophet had a wooden vessel under his bed in which he passed water at night.

Abu Dawud and Nasa’i transmitted it.

Grade:
حسن (الألباني)
Reference:
Mishkat al-Masabih 362
In-book reference:
Book 3, Hadith 74
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.