Sunan an-Nasa'i, Book 35, Hadith 90 (Nasa'i 3942)

It was narrated from 'Abdur-Rahman bin Samurah that the Prophet said:

"There is no vow to commit an act of disobedience or with regard to that which the son of Adam does not possess."