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." (JA)
English reference (JA): Vol. 3, Book 11, Hadith 2124 (JA)
Arabic reference (JA): Book 11, Hadith 2205 (JA)