2 occurrences across the corpus

The Jerusalem Talmud

Jerusalem Talmud Avodah Zarah 3:33

One verse says, they abandoned their idols; David and his men carried them away. But another verse says, David gave orders and they were burned in the.fire. Rebbi Yose [ben Rebbi] Ḥalafta and the rabbis. Rebbi Yose ben Rebbi Ḥalafta says, what was of metal, David and his men carried them away. And what was of wood, David gave orders and they were burned in the fire. But the rabbis say, what Itai from Gat annulled, David and his men carried them away. And what he did not annul, David gave orders and they were burned in fire. How does Rebbi Yose [ben Rebbi] Ḥalafta confirm David and his men carried them away? They took them by their rims.

Jerusalem Talmud Avodah Zarah 4:28

HALAKHAH: “An idol which was abandoned by its worshippers,” etc. It was stated: The war of Joshua is forbidden, similar to the war of Joshua is permitted. The war of David is permitted, like the war of David is forbidden. The war of Joshua is forbidden, as it is written, for certainly you should ban them. Similar to the war of Joshua is permitted, for it is a short time. The war of David is permitted, what Itai from Gat annulled. Like the war of David is forbidden, for it is permanent.