Reference
ID 5677
Collector Muslim ibn al-Hajjaj
Book Sahih Muslim
Chapter The Book of Oaths
Reference (English Book) Book 15, Hadith 4053
Reference (Arabic Book) Book 28, Hadith 4361
Hadith Type Khabar
Matn (English)

Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: He who took an oath and then found another thing better than (this) should expiate for the oath (broken) by him and do (the better thing).

Matn (Arabic)

وَحَدَّثَنِي أَبُو الطَّاهِرِ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ وَهْبٍ، أَخْبَرَنِي مَالِكٌ، عَنْ سُهَيْلِ بْنِ أَبِي، صَالِحٍ عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ مَنْ حَلَفَ عَلَى يَمِينٍ فَرَأَى غَيْرَهَا خَيْرًا مِنْهَا فَلْيُكَفِّرْ عَنْ يَمِينِهِ وَلْيَفْعَلْ ‏"‏ ‏.‏