Section 7 applies only after a person has been arrested and does not govern pre-arrest situations such as anticipatory bail under Section 438 CrPC.
Ashraf alias Lal Basha and others v. Inspector of Police, Railway Protection Force, HariharKarnataka High Court, 2 judges19941995 CrLJ 182para 5