Actor and comedian Aziz Ansari blasted Donald Trump Donald John TrumpUS reimposes UN sanctions on Iran amid increasing tensions Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Trump supporters chant 'Fill that seat' at North Carolina rally MORE for his proposed ban on Muslims entering the U.S. in a new op-ed in the New York Times.

Ansari, who is the son of Muslim immigrants, describes his initial reaction after the Orlando shooting. He recalled texting his mother after he heard about the shooting, telling her not to go to a mosque.

ADVERTISEMENT

"As I sent that text, in the aftermath of the horrible attack in Orlando, Fla., I realized how awful it was to tell an American citizen to be careful about how she worshiped,” he wrote.

Ansari called out Trump for “spewing hate speech" and said “prejudice is reaching new levels.”

"It’s visceral, and scary, and it affects how people live, work and pray. It makes me afraid for my family. It also makes no sense,” he said.

Ansari called for gun control and said that the ideas spread by Trump don’t address many of the issues that arise after shootings.

"The vitriolic and hate-filled rhetoric coming from Mr. Trump isn’t so far off from cursing at strangers from a car window. He has said that people in the American Muslim community 'know who the bad ones are,' implying that millions of innocent people are somehow complicit in awful attacks," Ansari wrote. "Not only is this wrongheaded; but it also does nothing to address the real problems posed by terrorist attacks."

Ansari also told Trump to "go f---" himself in his post on Twitter sharing the piece.