Hello,
Under the Hindu Marriage Act, A marriage may be declared void if it contravenes any of the following:
Here the term parties clearly means that the parties have to be a man and a woman as it states “bridegroom” and “bride”.
Hope this answers your query!
Regards
Palak Singh