Sahih Muslim | Book 15 | Hadith Number 4057

Narrated by 'Adi b. Hatim
'Adi b. Hatim reported Allah's Messenger (may peace be upon him) as saying: He who took an oath, but he found something else better than that, should do that which is better and break his oath.