"Nor should foreign sources of law be used in State courts; adjudication of criminal or civil matters," the platform continues in a section championed by Kansas Secretary of State Kris Kobach, who has been outspoken in his concern that the moral code of Islam could be playing a greater role in the American justice system.

Ellison blasted Republicans as "the party of hate" for having "demonstrated hatred towards Muslims" in adopting the language.

"I'm sad that they have decided to go into this dark, ugly place where they see the whole world as their enemy," Ellison said. "And this is the thing: I don't mind debating taxes and spending; we probably should. But they're the party that is basically a bigoted party and they have now officially declared themselves against a whole segment of the American population, because if we said we were going to put a plank opposing Jewish law, or Catholic canon, it would be an outrage. This is also an outrage. But you know, it'll pass."

Platform language has taken an increasingly prominent role at the conventions, with both political parties accusing the other side of adopting inappropriate language.

Democrats amended their party platform Wednesday afternoon to reinsert language supporting Jerusalem as the capital of Israel, with multiple reports saying the president personally intervened to have the language reinstated after criticism from Republicans. But the floor vote was contentious, with Convention Chairman and Los Angeles Mayor Antonio Villaraigosa needing three tries at a voice-vote before declaring in favor of the changes.

Republicans also ripped Democrats from excluding mention of God from their political platform; that language was also reinserted during the floor vote.