WE RELATE FROM the book of Ibn as-Sunnī that Anas
reported that the Messenger of Allah
said: “The way to conceal the private parts of the sons of Adam from the eyes of the jinn is to say, when about to take off one’s clothes: ‘In the name of Allah, besides Whom there is no god.’” [1].

Bismi-llāhi-lladhī lā ilāha illā Hū.
References
[1] Ibn as-Sunnī (274).