A marriage is valid if there is no marriage registration. However, some states are strict regarding it, eg., marriage registration in UP is a compulsory matter.