I heard the Messenger of Allah ﷺ say, "There is no prize for racing except in camel racing or horse racing."
حدثنا إسحاق حدثنا ابن لهيعة عن أبي الأسود قال سألت سليمان بن يسار عن السبق فقال حدثني أبو صالح قال سمعت
سمعت رسول الله ﷺ يقول لا سبق إلا في خف أو حافر
No references are available.
Its isnad is sahih. Abu Dawud, Tirmidhi, Nasai, and Ibn Majah narrated it from Abu Hurairah, and Suyuti marked it as sahih.