No officer or person having the custody and control of the body or liberty of any person under arrest shall refuse permission to such arrested person to communicate with his friends or with an attorney nor subject any person under arrest to any form of personal violence, intimidation, indignity or threats for the purpose of extorting from such person incriminating statements or a confession. Any person violating the provisions of this section shall be guilty of a misdemeanor.
Ala. Code § 36-10-16 (1975)