Sahih al-Bukhari 6621
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُحَمَّدُ بْنُ مُقَاتِلٍ أَبُو الْحَسَنِ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا هِشَامُ بْنُ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، أَنَّ أَبَا بَكْرٍ ـ رضى الله عنه ـ لَمْ يَكُنْ يَحْنَثُ فِي يَمِينٍ قَطُّ، حَتَّى أَنْزَلَ اللَّهُ كَفَّارَةَ الْيَمِينِ وَقَالَ لاَ أَحْلِفُ عَلَى يَمِينٍ فَرَأَيْتُ غَيْرَهَا خَيْرًا مِنْهَا، إِلاَّ أَتَيْتُ الَّذِي هُوَ خَيْرٌ، وَكَفَّرْتُ عَنْ يَمِينِي.
Narrated `Aisha:
Abu Bakr As-Siddiq had never broken his oaths till Allah revealed the expiation for the oaths. Then he said, "If I take an oath to do something and later on I find something else better than the first one, then I do what is better and make expiation for my oath."
Full reference and source
Sahih al-Bukhari 6621 In-book : Book 83, Hadith 1 USC-MSA web (English) : Vol. 8, Book 78, Hadith 618 (deprecated)
View source on Sunnah.com (opens in a new tab)