This is of course fine for white people visiting from overseas that don't look like they should know what they're doing.
There are some types of non-muslims (open apostates) that would be putting themselves in real physical danger by entering your average mosque in Islamabad and praying. We have a local ex-muslims meetup in London and stories of threats + actual physical violence from family and "community" are more common than not.
It also goes without saying that if there's no women's section and you have a vagina, you're shit out of luck.
There are some types of non-muslims (open apostates) that would be putting themselves in real physical danger by entering your average mosque in Islamabad and praying. We have a local ex-muslims meetup in London and stories of threats + actual physical violence from family and "community" are more common than not.
It also goes without saying that if there's no women's section and you have a vagina, you're shit out of luck.