Donald Trump’s team is reportedly considering a Muslim registry, but comedian Trevor Noah questioned whether the anti-immigration president-elect should have that power.

“When you think about what Trump has said about Muslims over the past two years, giving him a Muslim registry seems like a dangerous idea,” Noah said on Thrusday’s “The Daily Show.” “You wouldn’t give Jared [Fogle] a list of all the playgrounds.”

If the registry becomes reality, Noah said the only thing patriotic Americans can do is sign up, regardless of whether they are Muslim.

“We need to stand in solidarity with Muslim people who are being targeted by Donald Trump,” he said to cheers from the studio audience. “If they start registering Muslims in America, we all register as Muslims.”

Noah said that if all citizens stood with immigrants and said, “I am a Muslim,” it “would take away any power the registry might have.”