A 31-year-old businessman who said his wife had refused to have sex with him has agreed to halt a bid to get their marriage nullified.

Husayn Kassai, co-founder of technology firm Onfido, had wanted a judge to declare his marriage to doctor Niloofar Tabarra, 31, void on the grounds that it had not been consummated.

Dr Tabarra denied that their marriage had not been consummated and said she had a text message showing they had sex in a hotel in Prague.

She said their relationship had been characterised by “domestic abuse and coercive control”, and wanted a divorce.

She added that her estranged husband had a company worth “millions of pounds” and lawyers said if the marriage was nullified it would reduce the amount of money she could claim.

Mr Kassai on Tuesday agreed to a divorce on the grounds that he had behaved unreasonably, during the latest round of the litigation.

A judge, who oversaw a virtual public hearing in the Family Division of the High Court, said the dispute was a “tragedy” for the pair.

Mr Justice Moor, who made no findings about Dr Tabarra’s allegations relating to domestic abuse, heard that the pair married in June 2018, and the marriage had effectively lasted six months.

He said the marriage needed to be dissolved as quickly as possible and arguments over money resolved.

The judge said nullity petitions on the grounds of non-consummation were very rare and caused “great angst and upset”.

Barrister Charlotte Proudman, who represented Dr Tabarra, told Mr Justice Moor that Mr Kassai had originally petitioned for nullity on the grounds of non-consummation due to Dr Tabarra’s “wilful refusal”.

“Dr Tabarra opposes the nullity application and makes plain that the marriage was consummated once… whilst on holiday in Prague,” she said in a written case outline.

“There is a text message from (Mr Kassai) to (Dr Tabarra)… where he states, ‘let’s head back to the hotel so we can have even better sex than last night’.”

Dr Proudman said Mr Kassai and Dr Tabarra are Muslims.

She said Dr Tabarra had been a virgin before marriage and Mr Kassai had wanted his estranged wife to undergo hymen examination to “apparently confirm that she is still a virgin”.

Dr Proudman said such an examination would have been “highly abusive”.

Barrister Sarah Phipps, who represented Mr Kassai, told the judge her client was “clear that this marriage was not consummated”.

“Before the court is a case which has become an expensive litigation quagmire,” she said, in a written case outline.

“This would be regrettable in any case; it is particularly unfortunate in one which involves two young, well-educated people who have no children and were married for only six months.

“Almost every point is contested, almost every fact disputed.

“That said, the parties do agree on one thing: that their marriage was an unhappy disaster. Neither of them has a positive word to say about it.

“None of the wife’s allegations against the husband, or anyone else, have been proven and thus cannot be taken as being true.”