Section 164A(3) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(3)The Magistrate shall, before recording any statement of a person under sub-section (2), satisfy himself that such person is making the statement voluntarily and not under any inducement, threat or promise.