Was my friend wrong about hitting back, or was his classmate racist?

My friend who is from a different country living in the UK said when he was in high school that if a woman hits a man, he can hit her back. His classmate told him he's a woman beater, my friend said its his opinion, the classmate said no, and told him if he doesn't like it, he should leave the country.

I think his classmate was a racist.

Was my friend wrong about hitting back, or was his classmate racist?
Post Opinion