Ruling on conditional divorce

A husband taking an oath that his wife will be divorced if she does not return home and he will beat her