Several hadiths were narrated from the Messenger of Allah ﷺ, among them this one. The Messenger of Allah ﷺ said, "The Children of Israil used to bathe naked, looking at one another's private parts, but Musa would bathe alone. They said, 'By Allah, nothing prevents Musa from bathing with us except that he has a hernia in his scrotum.'One day Musa went to bathe and placed his garment on a rock, but the rock ran off with his garment. Musa rushed after it, calling out, 'My garment, rock! My garment, rock!' until the Children of Israil caught sight of Musa's private parts and said, 'By Allah, there is nothing wrong with Musa.' Then the rock stopped, after he had been seen. He took his garment and began striking the rock."Abu Hurairah said, "By Allah, there are six or seven marks on that rock from Musa's
beating it."
حدثني محمد بن رافع حدثنا عبد الرزاق أخبرنا معمر عن همام بن منبه قال هذا ما
عن رسول الله ﷺ فذكر أحاديث منها وقال رسول الله ﷺ كانت بنو إسرائيل يغتسلون عراة ينظر بعضهم إلى سوأة بعض وكان موسى عليه السلام يغتسل وحده فقالوا والله ما يمنع موسى أن يغتسل معنا إلا أنه آدر قال فذهب مرة يغتسل فوضع ثوبه على حجر ففر الحجر بثوبه قال فجمح موسى بأثره يقول ثوبي حجر ثوبي حجر حتى نظرت بنو إسرائيل إلى سوأة موسى فقالوا والله ما بموسى من بأس فقام الحجر بعد حتى نظر إليه قال فأخذ ثوبه فطفق بالحجر ضربا قال أبو هريرة والله إنه بالحجر ندب ستة أو سبعة ضرب موسى عليه السلام بالحجر