Sunan Ibn Majah, Book 1, Hadith 352 (In-Book)

Abu Sa'eed Al-Himyari narrated that : Mu'adh bin Jabal used to narrate something that the Companions of the Messenger of Allah had not heard, and he used to keep quiet about what they had heard. News of this report reached 'Abdullah bin 'Amr, and he said: "By Allah, I never heard the Messenger of Allah say this, and Mu'adh will put you into difficulty with regard to relieving yourself." News of that reached Mu'adh, so he met with him ('Abdullah). Mu'adh said: "O 'Abdullah! Denying a Hadith from the Messenger of Allah is hypocrisy, and its sn is upon the one who said it (if it is not true). I did indeed hear the Messenger of Allah say: 'Beware of the three things which provoke curses: Relieving oneself in watering places, in places of shade and in the middle of the street.'"

حَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي نَافِعُ بْنُ يَزِيدَ، عَنْ حَيْوَةَ بْنِ شُرَيْحٍ، أَنَّ أَبَا سَعِيدٍ الْحِمْيَرِيَّ، حَدَّثَهُ قَالَ كَانَ مُعَاذُ بْنُ جَبَلٍ يَتَحَدَّثُ بِمَا لَمْ يَسْمَعْ أَصْحَابُ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ وَيَسْكُتُ عَمَّا سَمِعُوا فَبَلَغَ عَبْدَ اللَّهِ بْنَ عَمْرٍو مَا يَتَحَدَّثُ بِهِ فَقَالَ وَاللَّهِ مَا سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ هَذَا وَأَوْشَكَ مُعَاذٌ أَنْ يَفْتِنَكُمْ فِي الْخَلاَءِ ‏.‏ فَبَلَغَ ذَلِكَ مُعَاذًا فَلَقِيَهُ فَقَالَ مُعَاذٌ يَا عَبْدَ اللَّهِ بْنَ عَمْرٍو إِنَّ التَّكْذِيبَ بِحَدِيثٍ عَنْ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ نِفَاقٌ وَإِنَّمَا إِثْمُهُ عَلَى مَنْ قَالَهُ لَقَدْ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏ "‏ اتَّقُوا الْمَلاَعِنَ الثَّلاَثَ الْبَرَازَ فِي الْمَوَارِدِ وَالظِّلِّ وَقَارِعَةِ الطَّرِيقِ ‏" ‏ ‏.‏

sunnah.com