Jami` at-Tirmidhi, Book 17, Hadith 39 (Tirmidhi 1477)

Sufyan Ath-Thawri reported from 'Asim, from Abu Razin, from Ibn 'Abbas who said:

"Whoever has relations with beast, then there is no legal punishment for him."