President Donald Trump appeared to mock Attorney General Jeff Sessions on Twitter by telling Sessions to "look into all of the corruption" of Trump's critics and those investigating him.

The president also accused Sessions of operating on a "Double Standard" in reference to the 63-month prison sentence given to Reality Winner, a former US intelligence contractor who leaked a classified report to the media.

Sessions issued a rare rebuke of President Donald Trump on Thursday, saying the Justice Department would "not be improperly influenced by political considerations."

Sessions' statement was itself a response to scathing criticism by Trump, including an accusation that Sessions did not take "control" of the Justice Department.

President Donald Trump has returned fire in a dispute with his attorney general, Jeff Sessions, calling on him to examine what Trump described as "all of the corruption" of Trump's critics and those investigating him, including Hillary Clinton, James Comey, and the special counsel Robert Mueller.

Trump said in two tweets on Friday morning:

"'Department of Justice will not be improperly influenced by political considerations.' Jeff, this is GREAT, what everyone wants, so look into all of the corruption on the 'other side' including deleted Emails, Comey lies & leaks, Mueller conflicts, McCabe, Strzok, Page, Ohr...... ....FISA abuse, Christopher Steele & his phony and corrupt Dossier, the Clinton Foundation, illegal surveillance of Trump Campaign, Russian collusion by Dems - and so much more. Open up the papers & documents without redaction? Come on Jeff, you can do it, the country is waiting!"

The president also accused Sessions of operating on a "Double Standard," in reference to the news that Reality Winner, a former National Security Agency contractor who leaked a classified report to the media, had been sentenced to 63 months in prison.

Winner had leaked a US report that detailed a Russian hacking attack aimed at voting systems before the 2016 election. Her sentence is the longest ever given for a federal crime involving leaks to the media.

"Ex-NSA contractor to spend 63 months in jail over 'classified' information," Trump tweeted on Friday. "Gee, this is 'small potatoes' compared to what Hillary Clinton did! So unfair Jeff, Double Standard."

Attorney General Jeff Sessions. Win McNamee/Getty Images

Session had issued a rare rebuke of the president on Thursday after Trump accused Sessions of not taking "control" of the Justice Department in a scathing Fox News interview earlier this week.

"I put in an attorney general that never took control of the Justice Department," the president told Fox News. "It's sort of an incredible thing."

He added: "Jeff Sessions recused himself, which he shouldn't have done, or he should have told me. He took my job, and then he said, 'I'm going to recuse myself.' I said, 'What kind of man is this?'"

Trump also said "the only reason I gave him the job is because I felt loyalty."

Sessions said in response: "While I am attorney general, the actions of the Department of Justice will not be improperly influenced by political considerations."

He added: "I demand the highest standards, and where they are not met, I take action. However, no nation has a more talented, more dedicated group of law-enforcement investigators and prosecutors than the United States."