Hasan al-Basri, may Allah have mercy on him, said: If a man says to his wife, "If I do not reach Basra, then you are divorced," then she remains his wife until one of them dies, but there is no inheritance between them.
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 2325
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 1148، وابن أبى شيبة فى «مصنفه» برقم: 19407»