Sayyiduna Abu Huraira (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) said: "Whoever swears an oath regarding doing or not doing something, then sees a better option, he should offer expiation for his oath and choose the better option."
Hadith Referenceمسند الشهاب / 515
Hadith Gradingمحدثین:صحيح
Hadith Takhrij«صحيح ، وأخرجه مسلم فى «صحيحه» برقم: 1650، ومالك فى «الموطأ» برقم: 967 ، وابن حبان فى «صحيحه» برقم: 4349، والترمذي فى «جامعه» برقم: 1530، والبيهقي فى«سننه الكبير» برقم: 18922، وأحمد فى «مسنده» برقم: 8855»