Sahih al-Bukhari — Hadith 2197 (KitabGrid sequence)
Narrated Abu Mas`ud Al-Ansari:
حَدَّثَنَا قُتَيۡبَةُ بۡنُ سَعِيدٍ، عَنۡ مَالِكٍ، عَنِ ابۡنِ شِهَابٍ، عَنۡ أَبِي بَكۡرِ بۡنِ عَبۡدِ الرَّحۡمَنِ بۡنِ الۡحَارِثِ بۡنِ هِشَامٍ، عَنۡ أَبِي مَسۡعُودٍ الأَنۡصَارِيِّ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنۡ ثَمَنِ الۡكَلۡبِ وَمَهۡرِ الۡبَغِيِّ وَحُلۡوَانِ الۡكَاهِنِ.
Translation
Qutaybah ibn Sa'id narrated to us, from Malik, from Ibn Shihab, from Abu Bakr ibn Abd al-Rahman ibn al-Harith ibn Hisham, from Abu Mas'ud al-Ansari رضي الله تعالى عنه:
The Messenger of Allah صلى الله عليه وآله وسلم forbade the price of a dog, the payment to a prostitute and the fee of a soothsayer.