Sunan an-Nasa'i, Book 35, Hadith 68 (Nasa'i 3904)

'Abdullah bin 'Umar said:

"The Messenger of Allah said: 'Whoever swears an oath and says: If Allah wills, then he has made an exception.'"