Maliks Muwatta Book 20, Hadith Number 140.

Section : What are Acceptable as Sacrificial Animals (Hadys).

Yahya related to me from Malik from Abu’z Zinad from al-Araj from Abu Hurayra that the Messenger of Allah, may Allah bless him and grant him peace, saw a man driving forward a camel which he was going to sacrifice, and he told him to ride it. The man said, “Messenger of Allah, it is an animal that I am going to sacrifice,” and he replied, “Ride it, woe on you,” either the second or the third time.