The Messenger of Allah ﷺ said, "The earnings of a cupper are foul, the price of a dog is foul, and the wages of a prostitute are foul."
حدثنا موسى بن إسمعيل أخبرنا أبان عن يحيى عن إبراهيم بن عبد الله يعني ابن قارظ عن السائب بن يزيد
أن رسول الله ﷺ قال كسب الحجام خبيث وثمن الكلب خبيث ومهر البغي خبيث
Reported by Muslim in the chapter on Musaqah, section on the prohibition of the price of a dog and the earnings of a soothsayer, etc., hadith no. 1568, from the hadith of Yahya bin Abu Kathir with this chain.