An arrested person has the right to know grounds of arrest, consult a lawyer, inform family, get medical examination, and be produced before a magistrate within 24 hours under Article 22 of the Constitution.