No its not right because you are punishing the child ,it is best to find out why the child is hearing voices, may I ask how old the child is and what are the circumstances .?
Agree with Margypops completely!
yes i also agree with Margypops too.
No it's not right to do so. Maybe you should take the child to a doctor, therapist, and/or psychiatrist about this.