Chapter: It is recommended for the one who swears an oath then sees that something else is better than it; To do that which is better and offer expiation for his oath
Abu Huraira reported Allah's Messenger ( صلی اللہ علیہ وسلم ) as saying: He who took an oath and then found another thing better than (this) should expiate for the oath (broken) by him and do (the better thing).
Authentic