Section 167 of the Cr.P.C., 1973 deals with the procedure when investigation cannot be completed in twenty-four hours. It states that whenever any person is arrested and detained in custody, and it appears that the investigation cannot be completed within the period of twenty-four hours fixed by Section 57, and there are grounds for believing that the accusation or information is well-founded, the Officer-in-charge of the police station or the police officer making the investigation, if he is not below the rank of sub-inspector, shall forthwith transmit to the nearest Judicial Magistrate a copy of the entries in the diary hereinafter prescribed relating to the case, and shall at the same time forward the accused to such Magistrate