Speaker Ryan denies Trump immigration deal with Democrats

Ryan said Thursday that Trump has to work with Republicans on DACA.

"The president understands that he has to work with congressional majorities to get any kind of legislative solution," Ryan said at his weekly news conference.

The Wisconsin Republican, following a phone call with Trump and Chief of Staff John Kelly, told reporters that Trump's dinner with House Minority Leader Nancy Pelosi, D-California, and Senate Minority Leader Chuck Schumer, D-New York, "was a discussion, not an agreement or a negotiation."

"These are discussions understanding people's positions," he said.

The bipartisan Dream Act would offer a path to citizenship for hundreds of thousands of young unauthorized immigrants brought to the U.S. as children who graduated high school or obtained a GED and pursued higher education, served in the military or worked lawfully for several years.

As he returned from visiting areas impacted by Hurricane Irma in Florida, Trump told reporters Thursday "we're not talking about" a path to citizenship.

"Nobody knows what the details are yet," said Rep. Lou Barletta, R-Pennsylvania., an immigration hardliner and early supporter of Trump's presidential campaign. "There will need need to be enforcement first."

"What I'm going to do is get consensus with our members now while we negotiate a compromise," Ryan said. "There will be a compromise. We believe this will occur. And this compromise will include border security and enforcement. so that we don't wind up with another DACA problem ten years down the road."

Conservatives lashed out at Trump following news of a potential deal with Democrats.

“Trump base is blown up, destroyed, irreparable, and disillusioned beyond repair. No promise is credible,” Rep. Steve King, R-Iowa, tweeted Wednesday night.

ABC News' Mary Bruce and Ali Rogin contributed to this report.