Deuteronomy 17:5

NLT
New Living Translation

5then the man or woman who has committed such an evil act must be taken to the gates of the town and stoned to death.