ANSWER:
It is your right in islam to ask for a separate accommodation. It is not allowed for him to hit you like this as this is domestic violence and most countries incriminate such an action. Consult your parents and elders and then you can come with a decision.
https://www.assimalhakeem.net/my-motherinlaw-is-bing-vry-aggressive-and-vile-towards-me-im-not-allowd-to-sit-with-the-family-eat-with-the-family-n-also-cook-for-my-husband-or-myself-she-says-i-cant-eat-the-food-she-makes-whe/