English translation
3817. It was narrated that 'Adiyy bin Hâtim said: "The Messenger of Allâh ﷺ said: 'Whoever swears an oath, then sees something better than it, let him leave his oath, and do that which is better, and offer expiation for it.'" (Sahih)
