Sunan Abi Dawud, Book 24, Hadith 6 (Abu Dawud 3422)

Narrated Rafi' ibn Khadij:

The Prophet (ﷺ) said: The earnings of a cupper are impure, the price paid for a dog is impure, and the hire paid to a prostitute is impure.