الأيمان والنذور
Abu Tarīf ‘Adiyy ibn Hātim (may Allah be pleased with him) reported that the Prophet (may Allah’s peace and blessings be upon him) said: "Whoever takes an oath to do something and then he finds a better alternative which brings him closer to Allah should do what is better in piety."  
عن أبي طَرِيف عدي بن حاتم -رضي الله عنه- مرفوعاً: «مَن حَلَف على يَمِين ثم رأى أَتقَى لله مِنها فَلْيَأت التَّقوَى».

شرح الحديث :


The Hadīth states that anyone takes an oath to do or not to do something, and then he sees that doing something else is better and more pleasing to Allah than abiding by the oath, then he is recommended to break the oath and do what is better. If the oath is related to something that is obligatory to be done or to be abandoned, such as swearing to abandon the prayer or to drink wine; in this case, he must break his oath and do what is more pleasing to Allah. In other words, he must do what is obligatory and abandon what is forbidden.  

ترجمة نص هذا الحديث متوفرة باللغات التالية