" إِذَا حَلَفَ أَحَدُكُمْ عَلَى يَمِينٍ فَرَأَى غَيْرَهَا خَيْرًا مِنْهَا فَلْيُكَفِّرْ عَنْ يَمِينِهِ وَلْيَنْظُرِ الَّذِي هُوَ خَيْرٌ فَلْيَأْتِهِ "
It was narrated from 'Abdur-Rahman bin Samurah that the Messenger of Allah said: "If any one of you swears an oath, then he sees something better than it, let him offer expiation for his oath, and look at what is better and do it."