كتاب المساقاة
22  
The Book of Musaqah
(9)
Chapter: The prohibition of the price of a dog, the fee of a fortuneteller and the payment of a prostitute, and the prohibition of selling cats
(9)
باب تَحْرِيمِ ثَمَنِ الْكَلْبِ وَحُلْوَانِ الْكَاهِنِ وَمَهْرِ الْبَغِيِّ وَالنَّهْىِ عَنْ بَيْعِ السِّنّ
Sahih Muslim 1568 a

Rafi b. Khadij (Allah be pleased with him) reported:

I heard Allah's Apostle (ﷺ) as saying: The worst earning is the earning of a prostitute, the price of a dog and the earning of a cupper.
وَحَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ الْقَطَّانُ، عَنْ مُحَمَّدِ بْنِ يُوسُفَ، قَالَ سَمِعْتُ السَّائِبَ بْنَ يَزِيدَ، يُحَدِّثُ عَنْ رَافِعِ بْنِ خَدِيجٍ، قَالَ سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ ‏ "‏ شَرُّ الْكَسْبِ مَهْرُ الْبَغِيِّ وَثَمَنُ الْكَلْبِ وَكَسْبُ الْحَجَّامِ ‏"‏ ‏.‏
Reference : Sahih Muslim 1568a
In-book reference : Book 22, Hadith 50
USC-MSA web (English) reference : Book 10, Hadith 3805
  (deprecated numbering scheme)