Any person who is arrested within this state, by virtue of a warrant issued by the Governor of this state, upon a requisition of the Governor of any other state or territory, as a fugitive from justice under the laws of the United States, shall not be delivered to the agent of such state or territory until notified of the demand made for his surrender, and given twenty-four (24) hours to make demand for counsel; and should such demand be made for the purpose of suing out a writ of habeas corpus, the prisoner shall be forthwith taken to the nearest judge of the district court, and ample time given to sue out such writ, such time to be determined by the said judge of the district court.
Laws 1949, p. 209, § 10.