It was narrated from' Amr bin Shuaib, from his father, that his grandfather said that the Prophet P.B.U.H said: "Whoever swears an oath then sees that something else is better than it, let him not do it, and his leaving it is the expiation for it." (Hasan)