The Book of Oaths (Kitab Al-Aiman)

Muslim :: Book 15 : Hadith 4057

'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.