2 occurrences across the corpus

The Works of Flavius Josephus

Antiquities of the Jews, Book IV 8:9

You are not to offer sacrifices out of the hire of a woman who is a harlot for the Deity is not pleased with any thing that arises from such abuses of nature; of which sort none can be worse than this prostitution of the body. In like manner no one may take the price of the covering of a bitch, either of one that is used in hunting, or in keeping of sheep, and thence sacrifice to God.

The Jerusalem Talmud

Jerusalem Talmud Sanhedrin 6:11

“The place of stoning was two man-sizes high,” etc. It happened that a pious man was walking on the road when he saw two people having sex with a bitch. They said, we know that this is a pious man, he will go, testify against us, and our lord David will kill us. Therefore, we shall be quicker than him and testify against him. They testified against him and he was sentenced to be executed. That is what David said, Rescue my soul from the sword, From the dog my only one! From the sword, Uriah’s sword. From the dog, the pious man’s dog.