A Florida federal judge ruled Thursday that immigration officials can’t transfer a noncitizen out of the Middle District of Florida until the court rules on his habeas petition, and that the individual has a right to a bond hearing — rather than being subject to mandatory detention — because of his current residency in the U.S.