Ben Affleck got into a heated debate about Islam with Bill Maher and author Sam Harris on Maher's HBO show Real Time Friday.

Ben Affleck Fights Bill Maher On Islam

Maher and Harris opened the discussion by sharing their views on how liberals have essentially forsaken liberalism by defending Muslims against the “meme” of Islamophobia.

“Liberals have failed on the topic of theocracy,” Harris argued, “We can criticize Christians… but when you want to talk about the treatment of women, homosexuals and free thinkers in the Muslim world, liberals have failed us… We’ve been sold on this meme of Islamophobia.”

Struggling to contain his frustration with Harris’ argument, Affleck interjected, “Hold on — are you the person who officially understands the codified doctrine of Islam? [Your characterization] is gross and racist. It’s like saying, ‘Oh, you shifty Jew!’”

The back-and-forth continued with Maher and Harris suggesting that the number of Muslims who are ISIS sympathizers is larger than acknowledged. Affleck, meanwhile, slammed the two for generalizing about a group of people that numbers over a billion.

“It’s the only religion that acts like the Mafia — that will f***ing kill you if you say the wrong thing, draw the wrong picture, or write the wrong book,” Maher shouted.

In response, Affleck contested, “What is your solution? That we condemn Islam? We’ve killed more Muslims than they’ve killed us by an awful lot, and we’ve invaded more Islamic nations. But we’re exempted from this things?”