"The Messenger of Allah said: 'Whoever swears an oath and says: If Allah wills, then he has made an exception.'"
Sunan an-Nasa'i Book 35, Hadith 68