(a) Except as otherwise provided by this section, a preliminary examination shall be held within the time set by the judge or magistrate judge pursuant to subsection (b) of this section, to determine whether there is probable cause to believe that an offense has been committed and that the arrested person has committed it.
The date for the preliminary examination shall be fixed by the judge or magistrate judge at the initial appearance of the arrested person. Except as provided by subsection (c) of this section, or unless the arrested person waives the preliminary examination, such examination shall be held within a reasonable time following initial appearance, but in any event not later than
(1) the tenth day following the date of the initial appearance of the arrested person before such officer if the arrested person is held in custody without any provision for release, or is held in custody for failure to meet the conditions of release imposed, or is released from custody only during specified hours of the day; or
(2) the twentieth day following the date of the initial appearance if the arrested person is released from custody under any condition other than a condition described in paragraph (1) of this subsection.
(c) With the consent of the arrested person, the date fixed by the judge or magistrate judge for the preliminary examination may be a date later than that prescribed by subsection (b), or may be continued one or more times to a date subsequent to the date initially fixed therefor. In the absence of such consent of the accused, the judge or magistrate judge may extend the time limits only on a showing that extraordinary circumstances exist and justice requires the delay.
(d) Except as provided by subsection (e) of this section, an arrested person who has not been accorded the preliminary examination required by subsection (a) within the period of time fixed by the judge or magistrate judge in compliance with subsections (b) and (c), shall be discharged from custody or from the requirement of bail or any other condition of release, without prejudice, however, to the institution of further criminal proceedings against him upon the charge upon which he was arrested.
(e) No preliminary examination in compliance with subsection (a) of this section shall be required to be accorded an arrested person, nor shall such arrested person be discharged from custody or from the requirement of bail or any other condition of release pursuant to subsection (d), if at any time subsequent to the initial appearance of such person before a judge or magistrate judge and prior to the date fixed for the preliminary examination pursuant to subsections (b) and (c) an indictment is returned or, in appropriate cases, an information is filed against such person in a court of the United States.
(f) Proceedings before United States magistrate judges under this section shall be taken down by a court reporter or recorded by suitable sound recording equipment. A copy of the record of such proceeding shall be made available at the expense of the United States to a person who makes affidavit that he is unable to pay or give security therefor, and the expense of such copy shall be paid by the Director of the Administrative Office of the United States Courts.