Sahih al-Bukhari, Book 34, Hadith 183 (Bukhari 2155)

Narrated Abu Mas`ud Al-Ansari:

Allah's Messenger (ﷺ) forbade taking the price of a dog, money earned by prostitution and the earnings of a soothsayer.