Deuteronomy 22:17-21

22:17 Moreover, he has raised accusations of impropriety by saying, ‘I discovered your daughter was not a virgin,’ but this is the evidence of my daughter’s virginity!” The cloth must then be spread out before the city’s elders. 22:18 The elders of that city must then seize the man and punish him. 22:19 They will fine him one hundred shekels of silver and give them to the young woman’s father, for the man who made the accusation ruined the reputation of an Israelite virgin. She will then become his wife and he may never divorce her as long as he lives.

22:20 But if the accusation is true and the young woman was not a virgin, 22:21 the men of her city must bring the young woman to the door of her father’s house and stone her to death, for she has done a disgraceful thing in Israel by behaving like a prostitute while living in her father’s house. In this way you will purge evil from among you.