(1) No confession made to a police officer shall be proved as against a person accused of any offense.
(2) No confession made by any person while he is in the custody of a police officer unless it is made in the immediate presence of a Magistrate shall be proved against him:
Provided that when any fact is deposed to as discovered in consequence of information received from a per... https://www.leadindia.law/bsa-section-23-confession-to-police-officer