The Messenger of Allah ﷺ said, "There is no prize for racing except in archery, horse racing, or camel racing."
أخبرنا إسمعيل بن مسعود قال حدثنا خالد عن ابن أبي ذئب عن نافع بن أبي نافع
أن رسول الله ﷺ قال لا سبق إلا في نصل أو حافر أو خف
[Its chain of transmission is hasan] Abu Dawud narrated it in the Book of Jihad, Chapter on Racing, no. 2574, and Tirmidhi, no. 1700, from the hadith of Muhammad bin Abdul-Rahman bin Abu Dhiib through this same chain. It is also found in al-Kubra, no. 4426. Tirmidhi said, hasan, and Ibn Hibban graded it sahih, no. 1638. The hadith has other chains as well.