Mishkat al-Masabih

Abu Huraira said that God’s messenger saw a man driving a sacrificial camel and told him to ride on it, to which he replied that it was a sacrifical camel. He told him again to ride on it and received the same reply, so he said, “Ride on it, bother you,” (Literally, 'woe to you’) either the second or third time he spoke. Bukhari and Muslim.

وَعَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَأَى رَجُلًا يَسُوقُ بَدَنَةً فَقَالَ: «ارْكَبْهَا» . فَقَالَ: إِنَّهَا بَدَنَةٌ. قَالَ: «ارْكَبْهَا» . فَقَالَ: إِنَّهَا بَدَنَةٌ. قَالَ: «ارْكَبْهَا وَيلك» فِي الثَّانِيَة أَو الثَّالِثَة