Ben Affleck appeared on "Real Time With Bill Maher" on Friday to promote his latest film, "Gone Girl." But Affleck didn't leave without getting into a heated debate with Maher over radical Islamic principles.

Affleck and Maher -- joined at a roundtable by Sam Harris, Nicholas Kristof, and Michael Steele -- fiercely battled after the 42-year-old actor called Maher's criticism of the religion "gross and racist."

Maher argued that radical Islam is, “the only religion that acts like the mafia, that will f--king kill you if you say the wrong thing, draw the wrong picture or write the wrong book.”

Affleck countered Maher, insisting that he was generalizing too broadly, and associating the ideas of a few radicalists with the entire Muslim community.