Sahih Muslim, Book 22, Hadith 51 (Muslim 3974)

Rafi b. Khadij reported Allah'& Messenger (ﷺ) as saying:

The price of a dog is evil, the earning of a prostitute is evil and the earning of a cupper is evil.