Sunan an-Nasa'i #3789
The Book of Oaths and Vows 35:29
It was narrated that 'Abdur-Rahman bin Samurah said:
"The Prophet said to me: 'If you swear an oath, and you see something that is better, then do that which is better and offer expiation for your oath.'"