You have heard that it was said to the ancients: ‘You shall not commit adultery.
Other versions
King James Version
Ye have heard that it was said by them of old time, Thou shalt not commit adultery:English Standard Version
"You have heard that it was said, 'You shall not commit adultery.'New International Version
"You have heard that it was said, 'Do not commit adultery.'