J.P.
Can you have the friend do chores around your house without telling his parents? This way he can learn some responsibilities without a beating.
Your son is protecting his friend and I don't think that is irresponsible. Your son told you the truth about what happened and that the consequences would be much worse for the friend.
Also, if you think this child is being abused then please get him some help.