Language:
كتاب الأدب
78  
Good Manners and Form (Al-Adab)
(95)
Chapter: Saying "Wailaka."
(95)
باب مَا جَاءَ فِي قَوْلِ الرَّجُلِ وَيْلَكَ
Sahih al-Bukhari 6159

Narrated Anas:

The Prophet (ﷺ) saw a man driving a Badana (a camel for sacrifice) and said (to him). "Ride it." The man said, "It is a Bandana." The Prophet (ﷺ) said, "Ride on it." The man said, "It is a Bandana." The Prophet (ﷺ) said, Ride on it, woe to you!"

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا هَمَّامٌ، عَنْ قَتَادَةَ، عَنْ أَنَسٍ ـ رضى الله عنه أَنَّ النَّبِيَّ صلى الله عليه وسلم رَأَى رَجُلاً يَسُوقُ بَدَنَةً فَقَالَ ‏"‏ ارْكَبْهَا ‏"‏‏.‏ قَالَ إِنَّهَا بَدَنَةٌ‏.‏ قَالَ ‏"‏ ارْكَبْهَا ‏"‏‏.‏ قَالَ إِنَّهَا بَدَنَةٌ‏.‏ قَالَ ‏"‏ ارْكَبْهَا وَيْلَكَ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6159
In-book reference : Book 78, Hadith 185
USC-MSA web (English) reference : Vol. 8, Book 73, Hadith 180
  (deprecated numbering scheme)