It is narrated from Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace be upon him) said: "Competition is permissible only in archery, horse racing, and camel racing."
Hadith Referenceمسند الإمام الشافعي / كتاب الأطعمة والصيد والذبائح / 1519
Hadith Takhrijاخرجه الترمذى الجهاد، باب ماجاء في الرهان والسبق (1700) وابوداود، الجهاد، باب في السبق (2584) والنسائي، الخيل، باب السبق (3615) ، (3616) - وصححه ابن حبان (1638)۔