I heard the Messenger of Allah ﷺ say: When two persons go together for relieving themselves uncovering their private parts and talking together, Allah, the Great and Majestic, becomes wrathful at this (action). Abu Dawud said: This tradition has been narrated only by 'Ikrimah b. 'Ammar. (Using translation from Abū Dāʾūd 15)
سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ «لَا يَخْرُجُ الرَّجُلَانِ عَلَى الْغَائِطِ كَاشِفَيْنِ عَنْ عَوْرَتَيْهِمَا يَتَحَدَّثَانِ فَإِنَّ اللهَ يَمْقُتُ عَلَى ذَلِكَ»