To answer your question the rule is 4-15-4.b: The dribbler palms/carries the ball by allowing it to come to rest in one or both hands.
This is a misconception to most fans and some coaches (and some officials). Unless the hand actually is under the ball unless the player catches the ball.