They married in an Arya Samaj temple and were going to register it in the registrar office in Ghaziabad, police said.