The Messenger of Allah ﷺ forbade the price of a dog, the earnings of a prostitute, and the payment given to a fortune-teller.
أن رسول الله ﷺ نهى عن ثمن الكلب، ومهر البغي، وحلوان الكاهن.
Malik narrated it in the Book of Sales (68) from Ibn Shihab, from Abu Bakr bin Abdul-Rahman bin Harith bin Hisham, from Abu Masud Ansari, and he related it.Bukhari narrated it in the Book of Sales (2237), and Muslim in the Book of Sharecropping (39:1567), both by way of Malik, with the same wording.