Trump would also have to sign off on the release of the documents if it passes both chambers.

Both Democrats and some Republicans have been backing the legislation. Republican Representative Thomas Massie, a co-sponsor of the bill, said in an interview with ABC News on Sunday that as many as 100 Republicans could vote in favour.

Known as the Epstein Files Transparency Act, the aim of the bill is to make the justice department release all unclassified records, documents, communications, and investigative materials linked to Jeffrey Epstein.

Trump posted the statement shortly after landing at Joint Base Andrews following a weekend in Florida.

“The Department of Justice has already turned over tens of thousands of pages to the Public on “Epstein,” are looking at various Democrat operatives (Bill Clinton, Reid Hoffman, Larry Summers, etc.) and their relationship to Epstein, and the House Oversight Committee can have whatever they are legally entitled to, I DON’T CARE!,” Trump wrote, adding that he wanted Republicans to get “BACK ON POINT”.

Trump’s reference to Clinton comes after the US justice department confirmed it will investigate paedophile financier Jeffrey Epstein’s alleged links to major banks and several prominent Democrats, including former US President Bill Clinton.

Trump said he would ask Attorney General Pam Bondi and the FBI to look into Epstein’s “involvement and relationship” with Clinton and others.

Clinton has strongly denied he had any knowledge of Epstein’s crimes.

A spokesperson for JPMorgan Chase said the firm regrets “any association” they had with Epstein, and added that the firm “did not help him commit his heinous acts”.

Trump’s reversal comes after Democrats on the House Oversight Committee last week published three email exchanges, including correspondence between Epstein, who died in 2019 in prison, and his long-time associate Ghislaine Maxwell, who is currently serving a 20-year prison sentence for sex trafficking.

Some of those exchanges make references to Trump. In one email, sent in 2011, Epstein writes to Maxwell: “I want you to realize that that dog that hasn’t barked is Trump.. [VICTIM] spent hours at my house with him.”

Hours after the release of those exchanges, House Republicans released a far larger tranche of 20,000 files to counter what they said was a Democratic effort to “cherry-pick” documents. They also said it was an attempt to “create a fake narrative to slander President Trump”.

The House of Representatives then announced there would be a vote next week on a much wider release of Epstein material.

In his comments on Sunday night, Trump repeated White House dismissals of the Epstein files as a Democrat-led “hoax”. His post came after House Speaker Mike Johnson suggested in comments to Fox News that a vote on releasing the documents would put to rest allegations that Trump had any connection to Epstein’s abuse and trafficking of teenage children.