"…and he who refuses to accept an invitation to a marriage feast, verily disobeys Allah and His Prophet”. (Ahmad & Abu Dawood)"
I've been invited to a wedding where I know there will be free mixing, men and women flirty, touching each other, kissing in public, partial nudity, dressed in tight clothing etc. I know they will have music and dancing. The music will have inappropriate words too.
Will I be disobeying Allah and his Prophet's command by not going to such a wedding?