President Trump will request Harvard University return nearly $9 million it received in coronavirus relief, saying the Ivy League school should never have taken the funding.

“Harvard’s going to pay back the money, and they shouldn’t be taking it,” Trump told reporters at the White House coronavirus briefing on Tuesday evening.

“They have one of the largest endowments in the country, if not the world, I guess, and they’re going to pay back the money. They shouldn’t have taken it,” he said.

The Boston institution — whose $40 billion endowment is the largest of all academic institutions around the world — faced a wave of criticism after it received millions of dollars as part of the $2 trillion aid package approved by Congress last month.

Following Trump’s comments, a Harvard University spokesman said the institution never received any funds from the Paycheck Protection Program aimed at small businesses, but instead cash to support struggling students.

“President Trump is right that it would not have been appropriate for our institution to receive funds that were designated for struggling small businesses,” a statement read.

“Like most colleges and universities, Harvard has been allocated funds as part of the CARES Act Higher Education Emergency Relief Fund,” it continued.

“Harvard has committed that 100 percent of these emergency higher education funds will be used to provide direct assistance to students facing urgent financial needs due to the COVID-19 pandemic.”

The president also said burger chain Shake Shack was returning the $10 million it received in small business funding as part of the package.

After Congress earlier Tuesday passed another $400 billion emergency aid package, most of that for small business relief, Treasury Secretary Steve Mnuchin said anyone abusing the funding would be punished.

“There are severe consequences for people who don’t test properly for certification,” he told reporters at the briefing.

“We want to make sure this money is available to small businesses that need it, people who have invested their entire life savings,” he continued.