Read the Arabic text and available English translation from Riyad as-Salihin, with its supplied source reference.
Sunnah.com : Book 18, Hadith 207
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إني والله إن شاء الله لا أحلف على يمين، ثم أرى خيرًا منها إلا كفرت عن يميني، وأتيت الذي هو خير"
Abu Musa (May Allah be pleased with him) said:
The Messenger of Allah (ﷺ) said, "Verily, I swear by Allah, if Allah wills, I shall not swear to do something but that if I consider something else to be better than it, then I shall make expiation for my oath and adopt the thing that is better."
[Al-Bukhari and Muslim].
Full reference and source
Sunnah.com : Book 18, Hadith 207
Arabic/English book : Book 18, Hadith 1717
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.