Sahih Muslim | Book 15 | Hadith Number 4054

Narrated by Abu Huraira
Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: He who took an oath and (later on) found another thing better than that, he should do that which is better, and expiate for the vow (broken by him).