Quan jian (or 'The Dog who committed adultery) was a short story written by Pu Songbird in 1740 (translated into English in 2006) during the Qing Dynasty when apparently bestiality was a rather common practice. I have heard of Chinese doctors having prescribed sex with dogs as a way to increase a woman's lust and faithfulness to her husband. Lust, yes, faithfulness, definitely knot lol. Which I'm guessing is a personal account for Pu Songbird and not a fictitious story considering how spiteful it is. By 1740, due to a few hundred years of trade, western influence and religion was seeping into China which I have no doubt greatly influenced this tale as well.
Anyways, an unnamed Qingzhou merchant who often travels abroad for extended periods, months to years during this period of time, leaving his wife alone at home with their pet, an unnamed white dog. Without her partner by her side, his wife begins engaging in bestiality with the dog which gradually becomes a routine. In Quan jian, the writer described the wife "...was a yaksha-demon! In bed, a bitch in heat..." Upon the merchant's return, the dog violently kills him when he tries to make love to his wife who then attempts to cover it up to protect her lover. Word of this spreads, and an incensed Magistrate calls in both woman and dog for questioning. They are found guilty and made to perform their sex acts in public, after which both are sentenced to prolonged death by a thousand cuts. Which is literal, and as bad as it sounds, they would cut you with a blade 1000 times. Most would die from blood loss long before the 1000th cut. A gruesome end for a horrible story.