It was narrated from Ibn 'Umar that :
the Messenger of Allah (ﷺ) said: "An oath (leads to) either sin or regret. "