The measure was approved on a vote of 289 to 137.
Leaders of both parties have failed to step up to the challenge of the slaughter of Syrians.
House may vote this week on legislation to address the tide of refugees fleeing violence in Syria.
"The pipeline would not make a meaningful long-term contribution to our economy," the president said.
The new speaker vowed to "be honest about what it is we can and cannot achieve."
The new House leader says the president cannot be trusted on the issue.
New speaker vows "a new chapter," but deep-seated woes still make it hard to get things done.
In his first address to the House in his new role, Ryan called on members to change how they conduct business.
Ryan didn't get the four-fifths needed for an endorsement, but convinces enough to back him.
Late on Tuesday, Ryan said he would pursue the top House job if his fellow Republicans united behind him.
The "proposition that somehow the conference drafts him and he accepts under the condition there are no conditions...that would be a huge mistake."
On Tuesday, Ryan told his fellow Republicans that he might be willing to seek the top job.
He's the top choice to be speaker of the House, but he says he doesn't want the job.
House Majority Leader Kevin McCarthy, abruptly dropped out on Thursday.
"This song is a song about rebellion," says the Twisted Sister frontman, "and [Trump is] definitely rebelling."