Nafi' narrates from Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) held a horse race. The horses that were conditioned he started from al-Hafya', and the finish was Thaniyyat al-Wada'. I asked Musa: "How far was it between them?" He said: "Six miles or seven miles." And he held a race of the unconditioned horses, starting them from Thaniyyat al-Wada', and their finish was the mosque of Banu Zurayq. I said: "How far was it between them?" He said: "A mile or about that." The narrator said: Ibn Umar (may Allah be pleased with them both) also took part in that race.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السبق والرمي / 19768