A man said to Hazrat Ali bin Husain (may Allah have mercy on him): I swore an oath that I would divorce such-and-such woman on the day of marriage. He recited the verse «يَاأَيُّهَاالَّذِينَآمَنُواإِذَانَكَحْتُمُالْمُؤْمِنَاتِثُمَّطَلَّقْتُمُوهُنَّ» and said: "Divorce is only valid after marriage."
Hadith Referenceسنن سعید بن منصور / كتاب النكاح / 2210
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 1029، 1033، 1034، والبيهقي فى«سننه الكبير» برقم: 15003، وابن أبى شيبة فى «مصنفه» برقم: 18126، 18127»