With this hadith, Marwan flogged him several lashes and then released him.
حدثنا محمد بن عبيد حدثنا حماد حدثنا يحيى
بهذا الحديث قال فجلده مروان جلدات وخلى سبيله
No references are available.
Sahih, preserved. Bayhaqi (8/263) narrated it from the hadith of Abu Dawud, through this route. See also the previous hadith.