Republican front-runner Donald Trump has come under fire for comments he made about requiring Muslims in the United States to register in a national database, telling a reporter, "I would certainly like to implement it. Absolutely."

Trump tried to back away from those comments on Friday, suggesting on Twitter that "I didn't suggest a database - a reporter did." But that didn't stop Bill Maher from blasting the outspoken presidential nominee on his HBO show.

"He floated the idea of closing down mosques, but he's going to do it his way: he's going to buy them, turn them into casinos, and then slide them into bankruptcy," Maher said during Friday night's "Real Time." "He's kind of walking this back, but he was talking about this yesterday—setting up different places across the country for every Muslim to register so they can be tracked. This is going to take a lot of manpower. It sounds like we're going to have to hire Mexicans!"

Maher went on to slam the entire field of GOP candidates, who he said are "tripping over each other" to look tough in response to the Syrian refugee crisis, which has ballooned to become an important political issue in the wake of the Paris attacks.

Then, later in the show, something strange happened - Maher, who is know for his harsh views of Islam and religion in general, seemed to criticize the values of those same refugees trying to flee their war-torn country.

"56 percent of Americans believe the Syrian refugees' values are at odds with our values. That may not be wrong," Maher claimed. "If you are in this religion, you probably do have values that are at odds. This is what liberals do not want to recognize. You may be from a country—as there are many, many Muslim countries—that either have Sharia law or want Sharia law. Those values are not our values."

Panelist Chrystia Freeland responded by saying it's wrong to demonize Muslim people, a suggestion that seemed to anger Maher.

"I'm not demonizing," an angry Maher responded. "I'm just reporting! You are making it a demonization!"

"I'm not saying Muslims are bad. We're saying the ideas need to be changed," Maher said. "Killing women for being raped? I would say that's a bad idea."