A reported plan to deport dozens of Afghan nationals has been temporarily halted by a New York-based federal judge following a warning from several US lawmakers and rights groups that sending them home or to neighboring Pakistan could put their lives at risk.