Adi bin Hatim (may Allah be pleased with him) narrates from the Prophet (peace and blessings be upon him): "Whoever swears an oath and something else is better than it, let him do the better thing and leave it (the oath)."
(b) Mu'adh al-Anbari (may Allah have mercy on him) narrates from Shu'bah: "Let him abandon his oath."
(c) Adi (may Allah be pleased with him) narrates from the Prophet (peace and blessings be upon him) that he (peace and blessings be upon him) said: "When one of you swears an oath and then sees something better than it, let him give the expiation for his oath and do the better thing."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19849