President Donald Trump referred to Haiti and African nations as "s---hole countries" in a meeting with lawmakers, a Democratic aide briefed on the matter told NBC News.

The Washington Post first reported the news, citing two people briefed on the meeting. The newspaper said that lawmakers had convened with the president in the Oval Office on Thursday to discuss a bipartisan immigration deal.

When lawmakers brought up protections for immigrants from Haiti, El Salvador and African countries, Trump asked, "Why are we having all these people from s---hole countries come here?"

The president then said that the U.S. should let in more people from countries like Norway. Trump met with Norwegian Prime Minister Erna Solberg on Wednesday.

On Monday, the Trump administration said that they would be ending the Temporary Protected Status designation for Salvadorans. It made a similar announcement for Haiti in November.

TPS is a humanitarian program which allows citizens from other countries to temporarily remain in the U.S. This special designation is given to people from countries that are undergoing hardships like armed conflict or recovery from natural disasters.

When reached for comment, the White House said in a statement that the president "will only accept an immigration deal that adequately addresses the visa lottery system and chain migration – two programs that hurt our economy and allow terrorists into our country."

The White House's statement did not deny that the president made those remarks.

"Certain Washington politicians choose to fight for foreign countries, but President Trump will always fight for the American people. The President will only accept an immigration deal that adequately addresses the visa lottery system and chain migration – two programs that hurt our economy and allow terrorists into our country. Like other nations that have merit-based immigration, President Trump is fighting for permanent solutions that make our country stronger by welcoming those who can contribute to our society, grow our economy and assimilate into our great nation. He will always reject temporary, weak and dangerous stopgap measures that threaten the lives of hardworking Americans, and undercut immigrants who seek a better life in the United States through a legal pathway."

This is breaking news. Please check back for updates.