This was before the prescribed punishments were revealed, referring to the hadith of Anas.
حدثنا محمد بن كثير قال أخبرنا ح و حدثنا موسى بن إسمعيل حدثنا همام عن قتادة
كان هذا قبل أن تنزل الحدود يعني حديث أنس
No references are available.
Bukhari narrated it in the Book of Medicine, chapter on treating with the urine of camels, hadith no. 5686, from Musa bin Ismail through this chain. Qatada explicitly stated that he heard it directly.