Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ said, "There is no vow and no oath binding upon the son of Adam regarding what he does not possess, nor in disobedience to Allah, nor in severing ties of kinship. Whoever takes an oath and then sees something better than it, let him abandon his oath and do what is better, for abandoning it is its expiation."

Azami 7146

Hasan

عن عمرو بن شعيب، عن أبيه، عن جده قال

قال رسول ﷺ: لا نذر، ولا يمين فيما لا يملك ابن آدم، في معصية الله، ولا في قطيعة رحم، ومن حلف على يمين فرأى غيرها خيرا منها فليدعها، وليأت الذي هو خير، فإن تركها كفارتها.

الأعظمي 7146حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Oaths and vows
Chapter
Vows
Section
No vow is valid concerning what a person does not own
Numbering
Jami al-Kamil 7146 (2nd edition)
Azami 7146