WASHINGTON—Nearly four dozen Democrats joined House Republicans to pass legislation Thursday that would halt the resettlement of Syrian and Iraqi refugees in the U.S. and overhaul the screening process, delivering a rebuke to the White House in response to public anxiety sparked by last Friday’s Islamic State attacks in Paris.

President Barack Obama, who threatened to veto the legislation, and many Democrats have argued that barring...

RELATED VIDEO

Emotional Debate Over Refugees, Immigrants

Syrian refugees face long waits getting to the U.S., and new data show Mexican immigration to the U.S. is now a net negative. But both remain emotional political issues, potentially clouding the policy debate. Photo:AP