This excerpt is taken from the book of Fazilat-ul-Sheikh Abdul Salam Rustami From Denial of Hadith to Denial of Quran.
Hadith 1: The stone running away with the clothes of Musa (peace be upon him)
When Musa (peace be upon him) placed his clothes on a stone while bathing, the stone took the clothes and ran away. Musa (peace be upon him) ran after it, and when the Children of Israel saw him naked, they realized that there was no disease in his body.
Reference: Sahih al-Bukhari, Ahadith al-Anbiya, Chapter: 28, Hadith: 3404
Answer:
It was a custom among the Children of Israel to bathe together, and they did not consider it shameful to see each other naked, as is evident in this hadith. Therefore, Musa (peace be upon him) appearing naked before them was not shameful. The benefit derived from this is that the people who attributed some disease to Musa (peace be upon him) were shown his innocence from that disease.