Sahih al-Bukhari, Book 76, Hadith 75 (Bukhari 5538)

Narrated Abu Mas`ud:

The Prophet (ﷺ) forbade the utilization of the price of a dog, the earnings of prostitute and the earnings of a foreteller.