Deuteronomy 22:21nevalah
the girl must be brought to the door of her father's house. Then the men of the town must put her to death by throwing stones at her. She has done a disgraceful thing in Israel by having sexual relations before she was married. You must get rid of the evil among you.
Sexual sin before marriage is named a disgraceful act among God's people.