Final answer:
The punishment for a man having sexual relations with an animal in ancient society was death for both the man and the animal.
Step-by-step explanation:
In ancient societies, the punishment for a man having sexual relations with an animal varied depending on the culture and time period. However, based on the provided references, it seems that the most common punishment was death for both the man and the animal involved.