If your husband is going to pubs or taking a child out to "a friend's house" I wonder if maybe he's taking the child to a pub. That could be considered endangering a child.
And I'm guessing the friend is his friend, not the child's. What's really going on I wonder?