Sunan Abi Dawud, Book 40, Hadith 21 (Abu Dawud 4373)

Muhammad bin Sirin said :

This happened before the prescribed punishments(hudud) were revealed, meaning the tradition of Anas.