Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) says that I heard the Messenger of Allah (peace and blessings of Allah be upon him) say: "Two persons should not go out to relieve themselves in such a state that their private parts are exposed and they are talking to each other. Indeed, Allah, the Mighty and Majestic, is greatly displeased with this." Imam Abu Bakr (may Allah have mercy on him) narrates another chain from Muhammad bin Yahya, in which the teacher of Yahya bin Abi Kathir is 'Iyad bin Hilal (whereas in the above-mentioned chain of narration, it is Hilal bin 'Iyad). The Imam says that the correct thing is that the teacher's name is 'Iyad bin Hilal. Yahya bin Abi Kathir has narrated several traditions from him. In my opinion, this confusion occurred because of 'Ikrimah bin 'Ammar, who, while narrating, said « عن ھلال بن عیاض ». (That is, he mentioned the son in place of the father.)"
Hadith Referenceصحيح ابن خزيمه / جماع أبواب الآداب المحتاج إليها في إتيان الغائط والبول إلى الفراغ منها / 71
Hadith Takhrij«اسناده ضعيف: سنن ابي داوٗد: كتاب الطهارة ، باب كراهية الكلام عند المحلاء ، رقم: 15 ، مسند احمد: 36/3 ، وابن ماجه: رقم: 342 ، والنسائي فى الكبرى: رقم: 32 ، 33 ، وابن حبان ”موارد“ رقم: 137 ، والحاكم: 157/1 ، وافقه الذهبي»