Sen. Bob Corker, the chairman of the Senate Foreign Relations committee, said Sunday President Trump's executive order temporarily banning refugees and immigration should be "immediately" revised.

"We all share a desire to protect the American people, but this executive order has been poorly implemented, especially with respect to green card holders," the Republican, who was considered for secretary of state, said in a statement.

"The administration should immediately make appropriate revisions, and it is my hope that following a thorough review and implementation of security enhancements that many of these programs will be improved and reinstated," he said.

Trump's executive order, announced Friday, temporarily suspended immigration from Iraq, Iran, Libya, Somalia, Sudan and Yemen for 90 days. It halted the country's refugee resettlement program for 120 days and banned Syrian refugees from the U.S. indefinitely.

The executive order, which applies to green card holders and individuals who were already approved to enter the country, led to confusion as travelers who were in transit to the U.S. were detained in airports over the weekend.

Trump pushed back on criticism on Sunday, through tweets and a statement released by the White House.

"There are over 40 different countries worldwide that are majority Muslim that are not affected by this order. We will again be issuing visas to all countries once we are sure we have reviewed and implemented the most secure policies over the next 90 days," the statement read.

Across the Capitol, Devin Nunes, the chairman of the House Permanent Select Committee on Intelligence, called Trump's executive order on refugees "a useful temporary measure."

"Based on my studies of this issue during numerous trips abroad related to intelligence matters, I've stated repeatedly that refugee flows from certain war-torn regions pose a serious national security threat to the United States," Nunes said.

"In light of attempts by jihadist groups to infiltrate fighters into refugee flows to the West, along with Europe's tragic experience coping with this problem, the Trump administration's executive order on refugees is a common-sense security measure to prevent terror attacks on the homeland," Nunes said. "While accommodations should be made for green card holders and those who've assisted the U.S. armed forces, this is a useful temporary measure on seven nations of concern until we can verify who is entering the United States."