Receive my teachings, receive my teachings. Allah has appointed a way for those women. If the parties have been married, they shall receive a hundred lashes and stoned to death. If the parties are unmarried, they shall receive a hundred lashes and banished for a year. (Using translation from Abū Dāʾūd 4415)
قَالَ رَسُولُ اللهِ ﷺ خُذُوا عَنِّي قَدْ جَعَلَ اللهُ لَهُنَّ سَبِيلًا الثَّيِّبُ بِالثَّيِّبِ وَالْبِكْرُ بِالْبِكْرِ الثَّيِّبُ يُجْلَدُ وَيُرْجَمُ وَالْبِكْرُ يُجْلَدُ وَيُنْفَى