Avodah Zarah 15 - Animal Laws
But contrast this with the following ruling: "One should not stable an animal at the inns of idol worshippers, because they are suspected of bestiality" - this ruling gives a blanket prohibition! The difference is that the idolater is concerned that his animal would not become sterile, and will not sodomize it if it is his own.
One is never allowed to sell large livestock. Why? The sale may happen right before Sabbath, and the idolater will ask the Jew to call the animal to see how it walks; the animal will move and carry its load. The Jew will thus cause his animal to work on the Sabbath. Therefore, to sell through an intermediary is allowed, since the animal does not know the reseller and will not follow their command.
Art: Herdsman and Herdswoman with Livestock by Govert Dircksz Camphuyse
