A lawyer for two Pakistani men arrested in Boston area last week said that there was no evidence linking them to the attempted Times Square bombing, but that the pair attracted the suspicion because days before May 1 incident they had booked a flight from New York to Pakistan on the same route as the accused car bomber. On Wednesday, a US immigration judge ordered one of the men, Pir Khan, 43, a taxi driver from Watertown, held without bail after a government lawyer argued that he had violated immigration law. Khan, who is confined in maximum security at the Plymouth County House of Correction, appeared via video link during the hearing in the US Immigration Court in Boston . Attorney Saher Macarius, who represents Khan and his roommate, Aftab Ali Khan, 27, said the government attorney told the judge that the two men had been arrested in raids by FBI and immigration agents in the Boston area last week as part of the investigation into the New York car bombing attempt on May 1. All they did wrong is both of them were leaving together to Pakistan to fix their immigration status and come back, said Macarius. He said Pir Khan purchased an electronic ticket April 27 for a June 6 flight from John F. Kennedy Airport in New York that would take him to Pakistan through Dubai. He said Aftab Khan made a reservation on the same flight, but he did not know when he bought his ticket. Both of them are leaving at the same time, leaving after that incident, going the same route as the attempted bomber, and thats the only connection I can see, said Macarius. Faisal Shahzad , the Pakistani-born US citizen, who is charged with the attempted Times Square bombing, was hauled off a Dubai-bound plane at Kennedy Airport in New York on May 3, on his way to Pakistan. Federal authorities have not disclosed what evidence led to the arrests last Thursday of the Khans and a third man, Mohammad Shafiq Rahman, 33 a computer programmer living in South Portland, Maine. Aftab Khan is scheduled to appear in Immigration Court in Boston tomorrow and it is unclear when Rahman will be in court. Last week, US Attorney General Eric Holder told reporters that investigators believe there is evidence that the three men provided money to Shahzad through an informal money transfer network, but had not determined whether they knew the purpose of the funds. According to Macarius, Richard Neville, assistant chief counsel of the Bureau of Immigration and Customs Enforcement, told the judge Pir Khan entered the country illegally in 1991 and in seeking political asylum had revealed on immigration documents that he had two wives, one in Pakistan and one in the United States. Macarius said it was unclear whether Pir Khan was ever legally married in Pakistan or whether the woman was his common-law wife. Pir Khan married Rebecca May Barry, 24, of Lewiston, Maine, in a ceremony at Watertown City Hall in December 2008, according to the marriage certificate. Barry was among some 30 people who came to court yesterday to support Khan, Macarius said. She was really crying her heart out when the husband was denied his bail, said Macarius, insisting the marriage was real. Immigration Judge Matthew DAngelo ruled that Pir Khan should remain in custody until his case is resolved. Pakistans honorary consul general in Boston , Barry Hoffman, has complained that Pir Khan is being treated like Osama bin Laden, even though he has not been criminally charged and is being held on alleged immigration violations. Hoffman said Pir is being held in maximum security at the Plymouth jail and wore leg irons, chains, and handcuffs when he was brought into a visiting room yesterday to see Hoffman. It seems kind of excessive for someone who has never been in jail before and lived in the US for almost 20 years and has an American wife, said Hoffman, criticizing US Immigration and Customs Enforcement authorities for placing Khan in such tight security while his immigration case is pending. Hes bewildered by the whole thing, and Im wondering why he has to be in maximum security. Richard Rocha, a spokesman for ICE, said last night that, ICE checked with Plymouth County Jail officials and was advised that the individual was placed in restraints as are all segregated detainees per jail visitation policy. Hoffman, who visited Aftab Khan Monday at the Suffolk County House of Correction, said Aftab Khan and Pir Khan told him they never heard of Shahzad and proclaimed their innocence. In documents related to Khans taxi cab company, he wrote that he entered the United States in 1991 and that he arrived through the border or left the space blank. But in his 2009 form, he filled in that blank with the word illegal, according to the documents and police spokeswoman Elaine Driscoll. Driscoll stressed, however, that Khan provided the Hackney Unit with the proper immigration paperwork, including his alien registration card and paperwork showing he was authorized to work in the United States. From a hackney standpoint, they are trying to determine [if] he is able to prove he is currently legal in the US, she said.