Had a quick google. It is all a bit Jeremy Kyle.
Lucy is now divorced from Murad, who I think Lucy only met face to face on their wedding day and then a couple of times after.
Lucy says Murad did not know before the wedding that Lucy was born male. That might explain why he only saw Lucy a couple of times after they were married.
Oh, and Murad already had an existing wife and two children before marrying Lucy.
That aside, I think mosques will just quietly turn away people who try to present as the opposite sex, rather than get all ragey about it.
Religious groups are allowed to have single-sex services in line with their religious beliefs. They can turn away someone in order avoid offending the religious beliefs of a significant number of the people who follow the religion. So I'm guessing they'd just use that get-out.
Of course in the secular society, there will be no get-out at all.