Rabbi Joel Mosbacher had just finished the morning's Shabbat service when he got an urgent message: Rabbis were needed at New York's Kennedy Airport. People were being detained under President Donald Trump's sharp travel restrictions on refugees. Would he come pray?

By sundown, Mosbacher was part of a group of rabbis at the airport, playing guitar and conducting a Havdalah service marking the end of the Sabbath. About 2,000 people gathered to rally against the new policy.

"We know what it's like to be the stranger," said Mosbacher, a Reform rabbi at Temple Shaaray Tefila, noting that Jewish refugees were at times turned away from the U.S. "As a person of faith, it was so important to be there."

From pulpits to sidewalk vigils, clergy have been part of a religious outpouring against Trump's plan to suspend refugee entry from seven majority Muslim countries. Faith leaders who support the president's executive order as a way to fight terrorism have been far less vocal, ceding the religious discussion to those overwhelmingly opposed to the president's sweeping immigration order, which suspends refugee admissions for four months and indefinitely bars refugees from Syria.

The U.S. Conference of Catholic Bishops, which runs the largest refugee resettlement network in the country, said it "strongly disagreed" with the prohibitions and pledged to work "vigorously to ensure refugees are humanely welcomed." The Orthodox Union, the largest association for American Orthodox synagogues, acknowledged the complexities of fighting terror, but said "discrimination of any group solely upon religion is wrong and anathema to the great traditions of religious and personal freedoms upon which this country was founded."