It was narrated that Abu Hurairah said:
"The Messenger of Allah said: 'Whoever swears an oath and says: "If Allah wills, then he has made an exception."'"