Amr bin As and I set out together to visit the Prophet ﷺ. He came out carrying a small shield, screened himself behind it, and urinated.We said to one another, "Look at him, he urinates the way a woman does."He heard this and said, "Do you not know what happened to the man from the Children of Israil? Whenever urine touched any part of their bodies, they would cut off that part. He forbade them from doing so, and was punished in his grave for it."
حدثنا مسدد حدثنا عبد الواحد بن زياد حدثنا الأعمش عن زيد بن وهب
انطلقت أنا وعمرو بن العاص إلى النبي ﷺ فخرج ومعه درقة ثم استتر بها ثم بال فقلنا انظروا إليه يبول كما تبول المرأة فسمع ذلك فقال ألم تعلموا ما لقي صاحب بني إسرائيل كانوا إذا أصابهم البول قطعوا ما أصابه البول منهم فنهاهم فعذب في قبره
Its chain of transmission is daif. Nasai narrated it in the Book of Purification, chapter on urinating toward a screen used for concealment, no. 30, and Ibn Majah, no. 346, from the hadith of Amash, with this wording. Amash was mentioned before (14), and he narrated using an ambiguous form ("an").