"You shall not bring the hire of a harlot or the price of a dog"Deuteronomy 23:19.

It is forbidden to bring as a sacrifice an animal that was given to a harlot as payment for services or an animal acquired in exchange for a dog.