Custom Act, 1962
102. Persons to be Searched May Require to be taken before Gazetted Officer of Customs or Magistrate. –
(1) When any officer of customs is about to search any person under the provisions of section 100 or section 101, the officer of customs shall, if such person so requires, take him without unnecessary delay to the nearest gazetted officer of customs or magistrate.
(2) If such requisition is made, the officer of customs may detain the person making it until he can bring him before the gazetted officer of customs or the magistrate.
(3) The gazetted officer of customs or the magistrate before whom any such person is brought shall, if he sees no reasonable ground for search, forthwith discharge the person but otherwise shall direct that search be made.
(4) Before making a search under the provisions of section 100 or section 101, the officer of customs shall call upon two or more persons to attend and witness the search and may issue an order in writing to them or any of them so to do; and the search shall be made in the presence of such persons and a list of all things seized in the course of such search shall be prepared by such officer or other person and signed by such witnesses.
(5) No female shall be searched by any one excepting a female.