Reference: Fataawa al-Lajnah ad-Daa.imah lil-Buhooth al-‘Ilmiyyah wal-Iftaa., – Volume 12, Page 361, Question No.1 of Fatwa No.9295
Question: People go to Alexandria in Egypt to spend the summer there. On the beaches there are thousands of women who are literally naked, and where men mix freely with women. I am a bearded man, so is it permissible for me to go there and sit by the sea, or not?
Response: If the situation is as described, then it is not permissible for a Muslim to go to these places/gatherings, for fear of fitnah and so as to avoid such places; [this is] unless he is of those who have the power/authority to remove the evil that is there. [This is] because [such people] they have the authority and the knowledge of Sharee’ah, and the ability to enjoin what is good and forbid what is evil.
And with Allaah lies all success and may Allaah send prayers and salutations upon our Prophet ﷺ and his family and his companions.