Sahih Muslim #1651 c
The Book of Oaths 27:24
'Adi reported Allah's Messenger (ﷺ) 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.
Sahih Muslim Book 27 Hadith 24
Sahih Muslim #1651 c
The Book of Oaths 27:24
'Adi reported Allah's Messenger (ﷺ) 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.