Ibrahim Nakha'i (may Allah have mercy on him) said: "The marriage becomes valid but the condition becomes void."