Sunan an-Nasa'i, Book 24, Hadith 181 (Nasa'i 2804)
It was narrated from Abu Hurairah that:
the Messenger of Allah saw a man driving a Badanah (Sacrificial camel) and said: "Ride it." He said: "O Messenger of Allah, it is a Badanah." He said: "Ride it, woe to you!" the second or third time.