Donald Trump has denied he struck a deal with senior Democrats to protect thousands of undocumented migrants to the US from deportation but said they were "fairly close" to reaching an agreement.
Senate Democratic Leader Chuck Schumer and House Democratic Leader Nancy Pelosi had said they reached a deal with the president in exchange for funding border security measures but excluding Mr Trump's planned Mexico border wall.
Hours later, however, that appeared to have been undone, with Mr Trump tweeting that "no deal was made last night on DACA", a reference to the Deferred Action for Childhood Arrivals programme put in place by former President Barack Obama.
Mr Trump later added that he was "fairly close" to a deal on the issue with congressional leaders - but any plan was dependent on toughening border controls.
He added that senior Republican members were "very much on board" with the plans in comments as he toured areas affected by Hurricane Irma.
DACA provided temporary work permits and protection from deportation for some 800,000 immigrants - often referred to as "Dreamers" - who were brought into the US illegally as young children by their parents.
Initially when the Democrats announced the deal - an apparent bipartisan move by the president - the only quibble from the White House came from press secretary Sarah Huckabee Sanders, who said the exclusion of the controversial border wall "was certainly not agreed to".
A deal on DACA would have angered Mr Trump's support base many of whom consider it an amnesty for law-breakers.
In his tweet, Mr Trump said that any kind of agreement would be subject to a vote.