He Said to His Wife: "If You Go Out, Then do Not Return," Intending to Prevent Her
Question :
I said to my wife: "If you go out without my permission then do not come back." And by that, I only intended to prevent her from going out. I did not think at that moment of divorce or the like. Now I fear that my wife will be forced to go out and I will not know of her having gone out. Is what occurred an oath, and may I make atonement for it now, or what is required of me? Benefit me (with advice) and may Allah benefit you (with reward).
Answer:
These words fall under the ruling of an oath. If she goes out, you must make atonement for a broken oath, but she will not be divorced thereby, according to the saying of the Prophet ﷺ :
"Deeds are according to intentions."
And his ﷺ saying:
"The Muslims must abide by their conditions."
And Allah is the Granter of success.
Source:
Ibn Baz
Fatawa Islamiyah, Vol. 6 Pages 390-391