Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:21ʿAlī b. Ḥujr And ʾAḥmad b. Muḥammad b. Mūsá Mardawayh > ʿAbdullāh b. al-Mubārak > Maʿmar > Ashʿath b. ʿAbdullāh > al-Ḥasan > ʿAbdullāh b. Mughaffal

the Prophet prohibited that a man should urinate in his bathing area. And he said: "It will only cause misgivings." [He said:] There are narrations on This topic from "a man from among the Companions of the Prophet."  

الترمذي:٢١حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ وَأَحْمَدُ بْنُ مُحَمَّدِ بْنِ مُوسَى مَرْدَوَيْهِ قَالاَ أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ الْمُبَارَكِ عَنْ مَعْمَرٍ عَنْ أَشْعَثَ بْنِ عَبْدِ اللَّهِ عَنِ الْحَسَنِ عَنْ عَبْدِ اللَّهِ بْنِ مُغَفَّلٍ

أَنَّ النَّبِيَّ ﷺ نَهَى أَنْ يَبُولَ الرَّجُلُ فِي مُسْتَحَمِّهِ وَقَالَ إِنَّ عَامَّةَ الْوَسْوَاسِ مِنْهُ قَالَ وَفِي الْبَابِ عَنْ رَجُلٍ مِنْ أَصْحَابِ النَّبِيِّ ﷺ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ غَرِيبٌ لاَ نَعْرِفُهُ مَرْفُوعًا إِلاَّ مِنْ حَدِيثِ أَشْعَثَ بْنِ عَبْدِ اللَّهِ وَيُقَالُ لَهُ أَشْعَثُ الأَعْمَى وَقَدْ كَرِهَ قَوْمٌ مِنْ أَهْلِ الْعِلْمِ الْبَوْلَ فِي الْمُغْتَسَلِ وَقَالُوا عَامَّةُ الْوَسْوَاسِ مِنْهُ وَرَخَّصَ فِيهِ بَعْضُ أَهْلِ الْعِلْمِ مِنْهُمُ ابْنُ سِيرِينَ وَقِيلَ لَهُ إِنَّهُ يُقَالُ إِنَّ عَامَّةَ الْوَسْوَاسِ مِنْهُ فَقَالَ رَبُّنَا اللَّهُ لاَ شَرِيكَ لَهُ وَقَالَ ابْنُ الْمُبَارَكِ قَدْ وُسِّعَ فِي الْبَوْلِ فِي الْمُغْتَسَلِ إِذَا جَرَى فِيهِ الْمَاءُ قَالَ أَبُو عِيسَى حَدَّثَنَا بِذَلِكَ أَحْمَدُ بْنُ عَبْدَةَ الآمُلِيُّ عَنْ حِبَّانَ عَنْ عَبْدِ اللَّهِ بْنِ الْمُبَارَكِ

See similar narrations below:

Collected by Aḥmad
ahmad:20563ʿAttāb b. Ziyād > ʿAbdullāh > Maʿmar > Ashʿath b. ʿAbdullāh > al-Ḥasan > ʿAbdullāh b. Mughaffal

[Machine] The messenger of Allah ﷺ forbade men from urinating in the bath, for most of the whispers are from it.  

أحمد:٢٠٥٦٣حَدَّثَنَا عَتَّابُ بْنُ زِيَادٍ حَدَّثَنَا عَبْدُ اللهِ أَخْبَرَنَا مَعْمَرٌ حَدَّثَنِي أَشْعَثُ بْنُ عَبْدِ اللهِ عَنِ الْحَسَنِ عَنْ عَبْدِ اللهِ بْنِ مُغَفَّلٍ قَالَ

نَهَى رَسُولُ اللهِ ﷺ أَنْ يَبُولَ الرَّجُلُ فِي مُسْتَحَمِّهِ فَإِنَّ عَامَّةَ الْوَسْوَاسِ مِنْهُ