It is narrated from Sayyiduna Ibn Amr, may Allah be pleased with him, that the Noble Prophet, peace and blessings be upon him, said: "Whoever swears an oath about something and then sees something else that is better, let him do what is better and offer expiation for his oath."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 6907
Hadith Gradingحکم دارالسلام:صحيح لغيره، وهذا إسناد ضعيف، مسلم بن خالد الزنجي، سيئ الحفظ.