The father of a boy whose parents are divorced instructs him not to invite his mother to the boys own house

Does he have to obey ?

No, he is obligated to keep ties with his mother. His father cannot stop him from keeping ties with his mother. However, the boy should show respect to his father and assure him he loves him, but that he also has an obligation towards his mother.