Barack Obama has made his first statement since Donald Trump's inauguration, endorsing the protests that have been taking place across the country in response to new immigration restrictions brought in by the new President.
The former president also rejected the idea that Mr Trump based his immigration executive order on a policy adopted by his own administration.
More World News Videos
US judge temporarily halts Trump's immigration crackdown
Capping a day of confusion and chaos and protests in several airports across the United States in response to Trump's order to restrict people from seven Muslim-majority countries, a judge temporarily halts deportations.
Mr Trump has said that his move to ban the entry of migrants from seven Muslim-majority countries into the United States, and to suspend temporarily the admission of refugees, was based in part on a decision in 2011 by then-President Obama to ban the admission of Iraqis to the country after evidence surfaced that two Iraqis seeking resettlement had been linked to terrorist activity in their homeland.
The Obama and Trump administrations also identified the same seven countries as harbouring terrorism threats.
Former Obama administration officials have denied that there was ever a halt to the awarding of visas to Iraqis, though the processing of these applications slowed after they were subject to more intense scrutiny.
Mr Obama, who has remained publicly silent about his successor since leaving office 10 days ago, pledged before leaving office to only speak about Trump's policy moves "where I think our core values may be at stake."
On Monday US time, his spokesman Kevin Lewis said in a statement:Â "With regard to comparisons to President Obama's foreign policy decisions, as we've heard before, the President fundamentally disagrees with the notion of discriminating against individuals because of their faith or religion."
Alluding to the widespread protests taking place in major airports and cities in response to the new immigration policy, Mr Lewis said Mr Obama "is heartened by the level of engagement taking place in communities around the country."
"In his final official speech as President, he spoke about the important role of citizen and how all Americans have a responsibility to be the guardians of our democracy — not just during an election but every day," Mr Lewis said.
"Citizens exercising their Constitutional right to assemble, organise and have their voices heard by their elected officials is exactly what we expect to see when American values are at stake."
Trump, meanwhile, deflected blame for the confusion at airports over the weekend on protesters and on a computer outage at Delta Air Lines Inc. that caused flight cancellations, even though that occurred more than 48 hours after the president's order and lasted only three hours.
Only 109 people out of 325,000 were detained and held for questioning. Big problems at airports were caused by Delta computer outage,.....
— Donald J. Trump (@realDonaldTrump) January 30, 2017
"Only 109 people out of 325,000 were detained and held for questioning. Big problems at airports were caused by Delta computer outage" and "protesters," Trump said in a series of Twitter messages Monday.
A spokesman for the airline didn't immediately comment.
The Washington Post