The terrified partner, a 26-year-old mum of two, filed for a quickie divorce after her husband hit her and even threatened to kill her.
But the judge in Frankfurt, Germany, rejected her application — quoting a Koran verse which some have controversially interpreted to mean a man can beat his wife if she acts in an “unchaste” fashion.
The woman judge said it was “a religious thing” because both the wife and husband were from Morocco — home to many Muslims.
She added: “The exercise of the right to castigate does not fulfil the hardship criteria defined by German law.”
But the wife’s lawyer, Barbara Becker-Rojczyk filed a claim saying the judge had a conflict of interest and should have stepped down.
She said: “The judge seems to be saying that the right to castigate means a husband can beat his wife.
“Apparently the judge deems it unchaste when my client adapts a Western lifestyle.”