The question was a defensive player slaps the hand of the player dribbling the ball and the official does not call a foul? Is the official correct?
Yes, the official is corect. The hand is considered part of the ball so long as the player is in contact with the ball holding, dribbling or shooting. Unless, of course it is done in an unsportmanlike manner.