Jami At Tirmidhi
1530
Sahih+3

Narrated Abu Hurairah:That the Prophet (ﷺ) said: "Whoever takes an oath, and then he sees that something else is better than it, then he should make atonement for his oath and then do it

SahihAhmad Muhammad Shakir
SahihAl-Albani