What is the punishment for consensual sex in Hinduism?
Punishment for illicit sex (which includes sexual intercourse with someone else's wife and also with one's maid) as per Srimad Bhagavata Purana is torment in a hell called "Taptasurmi".
yas tv iha vā agamyāṁ striyam agamyaṁ vā puruṣaṁ
yoṣid abhigacchati tāv amutra kaśayā
tāḍayantas tigmayā sūrmyā lohamayyā puruṣam
āliṅgayanti striyaṁ ca puruṣa-rūpayā sūrmyā
(Bhagavata Purana, Canto 5, Chapter 26, Verse 20)
A man or woman who indulges in sexual intercourse with an unworthy member of the opposite sex is punished after death by the assistants of Yamarāja in the hell known as Taptasūrmi. There such men and women are beaten with whips. The man is forced to embrace a red-hot iron form of a woman, and the woman is forced to embrace a similar form of a man. Such is the punishment for illicit sex.
Purport of the Verse
Generally a man should not have sexual relations with any woman other than his wife. According to Vedic principles, the wife of another man is considered one's mother, and sexual relations are strictly forbidden with one's mother, sister and daughter. If one indulges in illicit sexual relations with another man's wife, that activity is considered identical with having sex with one's mother. This act is most sinful. The same principle holds for a woman also; if she enjoys sex with a man other than her husband, the act is tantamount to having sexual relations with her father or son. Illicit sex life is always forbidden, and any man or woman who indulges in it is punished in the manner described in this verse.
Also see: Alternate translation by Motilal Banarsidass Publishers (p. 768-769).
Note: “The question: What is the punishment for consensual sex in Hinduism?” is licensed by Stack Exchange Inc (https://hinduism.stackexchange.com/); user contributions licensed under CC BY-SA.