law: 166. Penalties for aiding escape or attempt to escape of prisoners and for breach of prisonregulations.
  (1) Every person, who,
  (a) conveys or causes to be conveyed into any naval prison or naval detention quarters any arms, tools, or instruments, or any mask or other disguise to facilitate the escape of any prisoner or person undergoing detention, or
  (b) by any means whatever aids any prisoner or person undergoing detention to escape or in an attempt to escape from such prison or naval detention quarters, whether an escape be actually made or not, shall be punished with imprisonment for a term which may extend to fourteen years.
  (2) Every person who brings or attempts to bring into a naval prison or naval detention quarters, in contravention of regulations made under this Act, any spirituous or fermented liquor, shall for every such offence be punished with a fine not exceeding two hundred rupees and not less than one hundred rupees.
  (3) Every person, who,
  (a) brings into a naval prison or naval detention quarters or to or for any prisoner or person undergoing detention, without the knowledge of the officer having charge or command thereof, any money, clothing, provisions, tobacco, letters, papers, or other articles not allowed by the rules of the prison or naval detention quarters, to be in the possession of a prisoner or person undergoing detention, or
  (b) throws into the said prison or naval detention quarters, any such articles, or by desire of any prisoner or person undergoing detention, without the sanction of the said officer carried out of the prison or naval detention quarters any of the articles aforesaid, shall for every such offence be punished with a fine not exceeding two hundred rupees.
  (4) Every person, who,
  (a) interrupts any officer of a naval prison or naval detention quarters in the execution of his duty, or
  (b) aids or abets any person to assault, resist, or interrupt any such officer, shall for every such offence be punished with imprisonment which may extend to two years, or with fine, or both.
  (5) Every fine recovered under the foregoing sub-sections of this section shall be applied as the Central Government may direct notwithstanding any law, charter, or custom to the contrary.