Spite marriage
A marriage motivated primarily by a desire to hurt or get even with someone else.
"She soon found out that her spite marriage to Bob was a big mistake. You see, Tom didn't care -- in fact he congratulated them both with the utmost sincerity."