The 14th prohibition is that we are forbidden from swearing in the name of an idol, even [when dealing] with idol worshippers. So too we may not cause them to swear in the name of an idol, as our Sages explained in their statement,1 "One may not cause a non-Jew to swear in the name of his idol."

The source of this commandment is G‑d's statement (exalted be He),2 "Do not mention the name of other gods," i.e. by having a non-Jew swear in the name of his idol. Our Sages also explained there, "The verse, 'Do not mention,' teaches that one may not utter a vow in the name of an idol." The Gemara says in Sanhedrin,3 "The verse, 'Do not mention,' teaches that one person may not tell another, 'Wait for me next to such-and-such an idol.'"

One who transgresses this prohibition — by swearing in a reverential manner by any created being which people mistakenly believe in as a god — is punished by lashes.

In tractate Sanhedrin, when discussing the prohibition of hugging an idol, kissing it, sweeping the floor before it, or showing any signs of respect or love, our Sages said, "One is not punished by lashes unless utters a vow or an oath in its name."

The details of this mitzvah have been explained in the seventh chapter of Sanhedrin.