Sayyiduna Abdur Rahman bin Samurah (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: When you swear an oath to do something, then see another action better than it, then do the better action and offer expiation for your oath.
Hadith Referenceالمنتقى ابن الجارود / كتاب الطلاق / 929
Hadith Gradingغلام مصطفےٰ ظهير امن پوري:صحيح
Hadith Takhrijاز غلام مصطفےٰ ظهير امن پوري:«صحيح البخاري : 6722، صحيح مسلم : 1652۔»