
ومن وطئ بهيمة أو إمرأة ميتة أو حية فيما دون الفرج أو جارية يملك بعضها أو أخته المملوكة له أو وطئ زوجته في الحيض أو الدبر أو إستمنى بيده أو أتت المرأة المرأة لا حد عليه ويُعزَّر
عمدة السالك وعدة الناسك لإبن النقيب المصري كتاب الجنايات باب الزنا
Whoever has intercourse with an animal, or a dead woman, or a living woman in other than the vagina, or a servant girl of whom he owns a portion, or with his sister who he owns, or has intercourse with his wife during menstruation or in the rear, or masturbates with his hand, or if a woman comes to a woman, there is no obligatory legal punishment [hadd], but a discretionary punishment [ta'zir] may be prescribed.
Ibn Al-Naqib Al-Misri, ‘Umda Al-salik wa ‘Udda Al-nasik [Reliance of the Traveller and Instruments of the Devout], The book of serious crimes, Section: adultery