Section 24 of the Code of Criminal Procedure

Chapter 26, text as in the 1980 Revised Edition

24. If any person acting under a warrant of arrest or having authority to arrest has reason to believe that any person to be arrested has entered into or is within any place, the person residing in or in charge of such place shall on demand of such person acting or having authority as aforesaid allow him free ingress therein and afford all reasonable facilities for a search therein. *Search of place enteredby person sought to be arrested.*