Ayesha reported,

Her father would never break an oath until Allah revealed the expiation for oaths. Abu Bakr then said, "I will not hold to any oath when I see something better than it, except that I will accept the dispensation Allah has granted and do that which is better."

Azami 12277

Sahih

عن عائشة

أن أباها كان لا يحنث في يمين حتى أنزل الله كفارة اليمين، قال أبو بكر: لا أرى يمينا أرى غيرها خيرا منها، إلا قبلت رخصة الله وفعلت الذي هو خير.

الأعظمي 12277صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "Allah will not take you to task for idle talk in your oaths, but"
Numbering
Jami al-Kamil 12277 (2nd edition)
Azami 12277