Sunan an-Nasa'i, Book 35, Hadith 52 (Nasa'i 3872)

It was narrated from 'Imran bin Husain that the Prophet said:

"There is no vow to commit an act of disobedience, and no vow concerning that which the son of Adam does not possess."