عَنْ عَبْدِ الرَّحْمَنِ بْنِ سَمُرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ لِي رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَا عَبْدَ الرَّحْمَنِ بْنَ سَمُرَةَ إِذَا آلَيْتَ عَلَى يَمِينٍ فَرَأَيْتَ غَيْرَهَا خَيْرًا مِنْهَا فَائْتِ الَّذِي هُوَ خَيْرٌ وَكَفِّرْ عَنْ يَمِينِكَ
Narrated from Sayyiduna Abdur Rahman bin Samurah (may Allah be pleased with him), he says: The Messenger of Allah (peace and blessings be upon him) said to me: O Abdur Rahman bin Samurah! When you swear an oath about something and then consider something else to be better, then choose the better thing and offer expiation for your oath.