Donald Trump described El Salvador, Haiti and certain African nations as “shithole” countries during a meeting with lawmakers on Thursday, according to a report

“Why are we having all these people from shithole countries come here?” Trump said, after being presented with a proposal to restore protections for immigrants from those countries as part of a bipartisan immigration deal. The Washington Post reported the remarks citing aides briefed on the meeting.

Trump demanded to know why the US would accept immigrants from these countries rather than places like Norway, whose prime minister he had met the day before.

Quick Guide What is Daca and who are the Dreamers? Show Who are the Dreamers? Dreamers are young immigrants who would qualify for the Deferred Action for Childhood Arrival (Daca) program, enacted under Barack Obama in 2012. Most people in the program entered the US as children and have lived in the US for years “undocumented”. Daca gave them temporary protection from deportation and work permits. Daca was only available to people younger than 31 on 15 June 2012, who arrived in the US before turning 16 and lived there continuously since June 2007. Most Dreamers are from Mexico, El Salvador, Guatemala and Honduras, and the largest numbers live in California, Texas, Florida and New York. Donald Trump cancelled the program in September but has also said he wants Congress to develop a program to “help” the population. What will happen to the Dreamers? Under the Trump administration, new applications under Daca will no longer be accepted. For those currently in the program, their legal status and other Daca-related permits (such as to work and attend college) will begin expiring in March 2018 – unless Congress passes legislation allowing a new channel for temporary or permanent legal immigration status – and Dreamers will all lose their status by March 2020.

Technically, as their statuses lapse they could be deported and sent back to countries many have no familiarity with. It is still unclear whether this would happen. Fear had been rising in the run-up to last week’s announcement. Those with work permits expiring between 5 September 2017 and 5 March 2018 will be allowed to apply for renewal by 5 October. What does the recent ruling by Judge William Alsup mean? In his ruling, Alsup ordered the Trump administration to restart the program, allowing Daca recipients who already qualify for the program to submit applications for renewal. However, he said the federal government did not have to process new applications from people who had not previously received protection under the program. When the Trump administration ended the Daca program, it allowed Daca recipients whose legal status expired on or before 5 March to renew their legal status. Roughly 22,000 recipients failed to successfully renew their legal status for various reasons. Legal experts and immigration advocates are advising Daca recipients not to file for renewal until the administration provides more information about how it intends to comply with the ruling. “These next days and weeks are going to create a lot of confusion on the legal front,” said Marielena Hincapie, executive director of the National Immigration Law Center, which has filed a separate lawsuit against the Trump administration’s termination of Daca. Joanna Walters

In a statement, the White House did not deny the account, instead highlighting Trump’s hardline immigration stance.

“Certain Washington politicians choose to fight for foreign countries, but President Trump will always fight for the American people,” said Raj Shah, a White House spokesman. “Like other nations that have merit-based immigration, President Trump is fighting for permanent solutions that make our country stronger by welcoming those who can contribute to our society, grow our economy and assimilate into our great nation.”

He added: “[Trump will] always reject temporary, weak and dangerous stopgap measures that threaten the lives of hardworking Americans, and undercut immigrants who seek a better life in the United States through a legal pathway.”

The president’s comments drew swift and bipartisan rebuke. A chorus of Democrats condemned Trump as a “racist”.

Congressman Luis Gutiérrez, a Democrat from Illinois, said: “We always knew that President Trump doesn’t like people from certain countries or people of certain colors. We can now we say with 100% confidence that the president is a racist.”

He added: “This is the real Donald Trump and my biggest fear is that his voters will applaud him.”

Senator Orrin Hatch, a Republican of Utah who has helped implement the president’s legislative agenda, said: “I look forward to getting a more detailed explanation regarding the president’s comments. Part of what makes America so special is that we welcome the best and brightest in the world, regardless of their country of origin.”

Haiti’s ambassador to the US told MSNBC that their government had “formally summoned” a US official to explain Trump’s comments.

Vicente Fox, the former president of Mexico and a sharp-tongued critic of Trump, returned the insult on Twitter. He added: “America’s greatness is built on diversity, or have you forgotten your immigrant background, Donald?”

.@realDonaldTrump, your mouth is the foulest shithole in the world. With what authority do you proclaim who’s welcome in America and who’s not. America’s greatness is built on diversity, or have you forgotten your immigrant background, Donald? — Vicente Fox Quesada (@VicenteFoxQue) January 11, 2018

Congressional lawmakers met at the White House on Thursday to discuss a proposal reached by a bipartisan group of senators. Those in attendance included senators Lindsey Graham, David Perdue and Dick Durbin, the only Democratic lawmaker present, as well as congressman Kevin McCarthy, the House majority leader, Bob Goodlatte and Mario Diaz-Balart.

Lawmakers were reportedly taken aback by Trump’s comments.

The Oval Office meeting came on a day of frantic negotiations on all the aspects of immigration law now in the balance. The fate of hundreds of thousands of young undocumented immigrants remained hanging in the air Thursday after being kicked around Washington amid fierce partisan infighting.

Confusion roiled Capitol Hill as initial optimism that a deal had been struck to avoid the so-called Dreamers becoming vulnerable to deportation was quickly deflated by the White House and conservative lawmakers.

“There has not been a deal reached yet,” said White House press secretary Sarah Sanders. “However, we still think that we can get there. We’re very focused on trying to make sure that that happens. ”

Republican Senator Jeff Flake of Arizona, a member of a bipartisan working group focused on finding a legislative solution for Dreamers, the young people who came to the country illegally as children, set off a firestorm when he announced that the six negotiators had reached an agreement.

“We’re at a deal. We’ll be talking to the White House about that and I hope we can move forward with it,” Flake said. “It’s the only game in town.”

When Trump ended Deferred Action for Childhood Arrivals, the Obama-era program that has allowed nearly 800,000 immigrants to work and go to school in the US without fear of deportation, he gave lawmakers a six-month deadline to resolve the issue.

Lawmakers are scrambling to find a solution that also accommodates a list of demands laid out by the president: that the bill increase border security and provide funding for a wall; restrict family-based immigration; and end the state department’s diversity visa lottery.

The bipartisan group said their agreement meets those requirements and “we are now working to build support for that deal in Congress”.

Meanwhile, Marc Short, the White House director of legislative affairs, told reporters on Capitol Hill that negotiators still have a “ways to go”.

A federal judge earlier this week issued a nationwide injunction, ordering that the administration reinstate the Daca program while the courts deliberate how to rule on the president’s order.

House minority leader Nancy Pelosi insisted lawmakers would reach a deal by next week.

She also mocked a parallel effort to the Senate working group, which consists of the congressional number twos, which includes Durbin, Cornyn, House majority leader Kevin McCarthy and House minority whip Steny Hoyer as well as White House chief of staff John Kelly.

“The Five White Guys, I call them,” Pelosi said. “Are they going to open a hamburger stand next or what?”