Conditional Divorce
It doesn’t need a proof from Qur’an or hadith. It is in language. Marriage is a contract just like any other contact and can be nullified or cancelled like any other contract.
It makes non sense to cancel a contract in future that doesn’t exist. So it is nothing.