It is narrated from Hasan al-Basri (may Allah have mercy on him) that if someone said: "If I marry such-and-such woman, then she is divorced," he said: "This is nothing."
Hadith Referenceسنن سعید بن منصور / كتاب النكاح / 2217
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 1040، وابن أبى شيبة فى «مصنفه» برقم: 18122»