It was narrated from Saeed bin Jubair that Ibn Abbas said: "Women used to circumambulate the Kabah naked, saying: “Today some, or all of it will appear And whatever appers I don't make is permissible.' Then the following was revealed: “O Children of Adam! Take your adornment to every Masjid””"
SahihSahihSahih MuslimBook 24 · Hadith 339