"Yes, we fully support both the Goodlatte bill and the Leadership bill. The President misunderstood the question this morning on Fox News," the source said in an email. "He was commenting on the discharge petition/dreamers bill — not the new package. He would 100 percent sign either Goodlatte or the other bill."

Centrists had tried to use a discharge petition to force leadership to move on four different immigration proposals, including one backed by Democrats that protects so-called Dreamers, beneficiaries of the Deferred Action for Childhood Arrivals (DACA) program.

Other White House officials who spoke to Breitbart News attempted to deny that Trump misspoke and claimed he does not actually back the compromise proposal.

“President Trump made his views on the Ryan amnesty bill very clear today,” one official told Breitbart. “Unless he says something different publicly, it should be presumed that he knows exactly what he was talking about and what he was saying and why.”

The White House later released an on-the-record statement from spokesman Raj Shah reiterating that the president misunderstood the question on Fox News.

“The president fully supports both the Goodlatte bill and the House leadership bill. In this morning's interview, he was commenting on the discharge petition in the House, and not the new package. He would sign either the Goodlatte or the leadership bills,” Shah said.

The president said Friday morning during an appearance on “Fox and Friends” that he was looking at both pieces of legislation, but "certainly wouldn't sign the more moderate one."

His comments resulted in chaos on Capitol Hill, with House Republicans scrapping their plans to whip the legislation — released Thursday evening — crafted following meetings between leadership, centrists and top members of the conservative House Freedom Caucus.

Both moderates leading the discharge petition efforts, which would circumvent leadership and force votes on four separate proposals, and conservatives noted the bill was still a work in progress.

Despite the compromise bill coming together following meetings between negotiations from all factions of the GOP, conservatives have expressed concern that it lacks provisions to address e-verify, the guest worker program and "sanctuary cities."

The president took to Twitter Friday afternoon to express his support for House Republicans' efforts to come to an agreement on immigration that meets his four pillars: a pathway to citizenship for DACA recipients, an end to "chain migration," the elimination of the diversity visa lottery system and strengthening border security.

The Democrats are forcing the breakup of families at the Border with their horrible and cruel legislative agenda. Any Immigration Bill MUST HAVE full funding for the Wall, end Catch & Release, Visa Lottery and Chain, and go to Merit Based Immigration. Go for it! WIN!

The measure also ends the separation of immigrant children and parents at the border, closes “catch and release” immigration loopholes and contains a trigger mechanism to halt the new visas for Dreamers if Congress denies funding for the wall.

— Scott Wong and Jordan Fabian contributed to this report, which was updated at 5:46 p.m.