The 22nd prohibition is that we are forbidden from gaining benefit from any ornaments which were used to adorn an idol.1

The source of this commandment is G‑d's statement,2 "Do not desire the gold and silver which is on them."

The Sifra3 explains that the coverings of any idol are forbidden, and bases this prohibition on G‑d's statement (exalted be He),4 "Do not desire the gold and silver which is on them."

One who transgresses this prohibition is punished by lashes.

The details of this mitzvah have been explained in the third chapter of Avodah Zarah.5