Sunan Ibn Majah, Volume 3, Book 11, Hadith 2124 (DarusSalam)

It was narrated from 'Imran bin Husain that the Messenger of Allah said: "[There is no vow to commit disobedience and] no vow concerning that which the son of Adam does not possess."

حَدَّثَنَا سَهْلُ بْنُ أَبِي سَهْلٍ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، حَدَّثَنَا أَيُّوبُ، عَنْ أَبِي قِلاَبَةَ، عَنْ عَمِّهِ، عَنْ عِمْرَانَ بْنِ الْحُصَيْنِ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ لاَ نَذْرَ فِي مَعْصِيَةٍ وَلاَ نَذْرَ فِيمَا لاَ يَمْلِكُ ابْنُ آدَمَ ‏" ‏ ‏.‏

sunnah.com