Section 281(f) in Rules under the United Provinces Excise Act, 1910
(f)Whenever an accused person intimates his desires to confess to his part in an offence, the confession should promptly be got recorded by a Magistrate of the first class under Section 164 of the Criminal Procedure Code.