A 25-year-old Muslim man was beaten up by a group of people at a Ghaziabad court where he had gone to marry a Hindu woman, police said on Tuesday.

Sahil, who works at a Noida firm, went to the court to register his marriage with Preeti Singh, 23, on Monday afternoon when the crowd attacked them, police officer Sanjay Panday told IANS.

The police personnel at the court saved the man from getting lynched.

"We have registered an FIR against two men—Vinod and Navneet—and several unknown persons. No arrest has been made so far," Panday said.

Sahil, who hails from Bhopal, sustained minor injuries while the woman, from Bijnore in Uttar Pradesh, escaped unhurt.

The trouble began when the couple reached the sub-registrar office. When they were filling up a form, some men in the office noticed that the man was a Muslim and the bride a Hindu.

Some men reportedly began asking them embarrassing questions. When the couple protested, a dozen men started thrashing the man. Police personnel stationed at the compound took them in their shelter and eventually helped them to escape.