No it's not right to do so. Maybe you should take the child to a doctor, therapist, and/or psychiatrist about this.
yes i also agree with Margypops too.
Agree with Margypops completely!
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 .?