A federal judge has ordered a mother and her daughter to be flown back to the United States, after learning they had been deported mid-appeal.
The two were being represented in a lawsuit by the American Civil Liberties Union (ACLU), who said they had fled "extreme sexual and gang violence".
The judge said it was unacceptable they had been removed during their appeal.
He reportedly also said Attorney General Jeff Sessions could be held in contempt of court for the deportation.
Mr Sessions introduced tighter immigration rules in June and victims of domestic abuse and gang violence no longer generally qualify for US asylum.
The mother and daughter were part of a case filed by the ACLU and the Centre for Gender and Refugee Studies on behalf of 12 mothers and children who said they had fled violence but were at risk of deportation.
The government had pledged not to deport anyone in the case before Friday at the earliest, the ACLU said.
But the ACLU said they had learned during Thursday's emergency hearing that the mother and daughter had already been put on a flight back to El Salvador by US authorities.
Washington DC District Court Judge Emmet Sullivan said that it was unacceptable that people claiming asylum had been removed while lawyers argued their case.
Describing the situation as "outrageous", he ordered the pair be returned immediately, according to reports.
An official from the Department of Homeland Security told the Reuters agency that the agency had worked to comply with the court's order.
"Upon arrival in El Salvador, the plaintiffs did not disembark and are currently en route back to the United States," the department said in an emailed statement.
The mother and daughter are said to have arrived back in Texas, where they were being held, by Thursday night.