"If you swear an oath, then you see something better than it, then offer expiation for your oath, and do that which is better."
Sunan an-Nasa'i Book 35, Hadith 24