Sahih al-Bukhari 6719
Book 84: Expiation for Unfulfilled Oaths · Narrated by Hammad
Arabic
حَدَّثَنَا أَبُو النُّعْمَانِ، حَدَّثَنَا حَمَّادٌ، وَقَالَ، " إِلاَّ كَفَّرْتُ يَمِينِي، وَأَتَيْتُ الَّذِي هُوَ خَيْرٌ ". أَوْ " أَتَيْتُ الَّذِي هُوَ خَيْرٌ، وَكَفَّرْتُ ".
English translation
Narrated Hammad:the same narration above (i.e. 709), "I make expiation for my dissolved oath, and I do what is better, or do what is better and make expiation
Reference: Sahih al-Bukhari 6719, Book of Expiation for Unfulfilled Oaths. English translation by Dr. Muhammad Muhsin Khan.