Hasan al-Basri, may Allah have mercy on him, said: "If any one of the three has the intention of halalah, then the marriage becomes invalid."