"The Prophet said to me: 'If you swear an oath, and you see something that is better, then do that which is better and offer expiation for your oath.'"
Sunan an-Nasa'i Book 35, Hadith 29