The Messenger of Allah ﷺ said, "Whoever swears an oath and then sees something better than it, leaving the oath is its expiation."
حدثنا أبو سعيد مولى بني هاشم حدثنا خليفة بن خياط
أن رسول الله ﷺ قال من حلف على يمين فرأى غيرها خيرا منها فتركها كفارتها