My husband has been abroad for about the last five years and I am very thirsty for sex, but he is not here. Can I have sex with another person?
You have good grounds for divorce, if there is no objection from your husband. Then you could remarry and commence relations with someone new. The tradition of punishment for adultery when married was public execution. The sin is rated only slightly lower than murder. These matters are found within the Qur'an, and common Islamic texts.