In The Name of Allaah, The Most Merciful, The Bestower of Mercy.
Shaikh Saaleh Al-Fawzaan [may Allaah preserve him] said: Indeed shaytaan’s enmity towards the human being is an old affair since the time of his father Aadam [alayhis-salaam]. He has not ceased plotting against the human being in order to destroy him, as Allah stated [that shaytaan] said: [لَٮِٕنۡ أَخَّرۡتَنِ إِلَىٰ يَوۡمِ ٱلۡقِيَـٰمَةِ لَأَحۡتَنِكَنَّ ذُرِّيَّتَهُ ۥۤ إِلَّا قَلِيلاً۬ – If You give me respite (keep me alive) to the Day of Resurrection, I will surely seize and mislead his offspring (by sending them astray) all but a few!’ [17:62]
And one of the greatest plots of shaytaan against the human being is the uncovering of the private parts due to what is found in that of obscenity and immorality, loss of shyness and modesty. So he conspired against Aadam and his wife to eat from the forbidden tree, ‘In order to uncover that which was hidden from them of their private parts’ [7:20]
So, Aadam [alayhis-salaam] sinned and Allah censured him for that. He turned repentant to Allah and Allah forgave him, and cut off the path towards listening to shaytaan. However, the effect of the sin remained, [and led to] his expulsion from Paradise. This increased Aadam in repentance and striving in obedience to his Lord. ‘Then his Lord chose him, and turned to him with forgiveness, and gave him guidance’ [20:122] So, shaytaan failed in attaining his goal and there came about for Aadam nobility and a good end, which shaytaan could not take away.
Then Allah [Glorified be He] warned the children of Aadam against the plots of this enemy who did what he did to their father, so that they are not deceived and made to fall into destruction through the path of negligence with regards to uncovering the private parts. Allaah [Glorified be He] provided them with two [types] of garments to cover their private parts: The garment to cover and beautify themselves and the garment that shields them from sins and beatifies them both outwardly and inwardly, and that is the garment of piety that is made to settle in their hearts. Allah [Glorified be He] said: [يَـٰبَنِىٓ ءَادَمَ قَدۡ أَنزَلۡنَا عَلَيۡكُمۡ لِبَاسً۬ا يُوَٲرِى سَوۡءَٲتِكُمۡ وَرِيشً۬اۖ وَلِبَاسُ ٱلتَّقۡوَىٰ ذَٲلِكَ خَيۡرٌ۬ۚ – O Children of Aadam! We have bestowed raiment upon you to cover yourselves (screen your private parts) and as an adornment; and the raiment of taqwah, that is better’ [7:26]
[يَـٰبَنِىٓ ءَادَمَ لَا يَفۡتِنَنَّڪُمُ ٱلشَّيۡطَـٰنُ كَمَآ أَخۡرَجَ أَبَوَيۡكُم مِّنَ ٱلۡجَنَّةِ يَنزِعُ عَنۡہُمَا لِبَاسَہُمَا لِيُرِيَهُمَا سَوۡءَٲتِہِمَآۗ – O Children of Aadam! Let not shaytaan deceive you, as he got your parents [Aadam and Hawwaa] out of Paradise, stripping them of their raiments, to show them their private parts’ [7:27]
Allah did not issue this warning to His slaves, except that because shaytaan would be pleased to gain victory over them again, so that he may command them [to commit the act of] nudity and removal of the covering and garment of modesty due to what is in that of evil aims and lowly desires. Indeed, he executed this plot against the people of the era of Pre-Islamic ignorance; he ordered men and women to perform Tawaaf around the kabah (whilst) naked, and he said to them: ”do not perform Tawaaf with the clothes you wore whilst being disobedient to Allah’. So, they obeyed him and argued that this is what they found their forefathers upon and that it is what Allah commanded them.
[An Excerpt from ‘Al-Bayaan Li-Akhtaa’i Ba’dil Kuttaab’ page 3/135-136. slightly paraphrased]