A woman used to circle the House naked, saying, "Who will lend me a garment to circle in?" She would place it over her private parts and say, "Today part of it, or all of it, may show, but whatever shows of it I do not permit." Then this verse was revealed, "Take your adornment at every masjid" [Araf 7:31].
كانت المرأة تطوف بالبيت وهي عريانة فتقول: من يعيرني تطوافا، تجعله على فرجها، وتقول: اليوم يبدو بعضه أو كله فما بدا منه فلا أحله نزلت هذه الآية: {خذوا زينتكم عند كل مسجد} [سورة الأعراف: ٣١].
Muslim narrated it in his Tafsir (3028) through several routes from Shubah, from Salama bin Kuhayl, from Muslim al-Batin, from Saeed bin Jubayr, from Ibn Abbas, and he related it as mentioned.His saying, "tawaf-garment," refers to a garment that a woman wears while she performs tawaf in it. Quraysh had invented, either before or after the incident of the elephant, the custom that no one but themselves should perform tawaf around the House except in the clothes of one of their own men. If a person could not find such clothes, he would perform tawaf naked. If someone defied this and performed tawaf in his own clothes, he would throw them away once he finished and never take them back, and they would be trampled underfoot. Then Islam came and abolished this practice of pre-Islamic ignorance.His saying, "She says... etc.," means that she performs tawaf naked while reciting this poem. The gist of it is that on that day, meaning the day of tawaf, either all or part of her private area would be exposed, and in either case it is not permissible for anyone to look at it intentionally. She means that she uncovered her private area only out of the necessity of tawaf, not to permit anyone to look at it or take pleasure in it. So no one is allowed to do that. This is what Suyuti stated in his commentary on Nasai.Then Islam came, and Allah commanded the covering of the private parts, saying, "O children of Adam, take your adornment at every masjid" [Araf 7:31], and the Prophet ﷺ said, "No naked person is to perform tawaf around the House."