The Book of Oaths (Kitab Al-Aiman)

Muslim :: Book 15 : Hadith 4058

'Adi reported Allah's Messenger (may peace be upon him) as saying: When anyone amongst you takes an oath, but he finds (something) better than that he should expiate (the breaking of the oath), and do that which is better.

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star