It is narrated from Abu Mas'ud Ansari (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) forbade taking the price of a dog, the wages of a prostitute, and the offering given to a soothsayer.
Hadith Referenceمسند الإمام الشافعي / كتاب البيوع / 1464
Hadith Takhrijاخرجه البخاري ، البيوع، باب ثمن الكلب (2237) ومسلم المساقاة، باب تحريم ثمن الكلب، وحلوان الكاهن.... الخ (1567)۔