Mishkat al-Masabih
Mishkat al-Masabih 3413
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ حَلَفَ عَلَى يَمِينٍ فَرَأَى خَيْرًا مِنْهَا فَلْيُكَفِّرْ عَنْ يَمِينِهِ وليفعل» . رَوَاهُ مُسلم
Translation
Abu Hurayrah reported that the Messenger of God said: ‘Whoever swears an oath, then sees something better than it, let him make expiation for his oath and do the better thing.’ Muslim transmitted it.