Abu Labid Lumazah bin Zabbar, may Allah have mercy on him, says that during the time of Hajjaj bin Yusuf the horses were sent out for racing, and we thought that we also participate in horse racing with a wager. Then we thought that first we should go and ask Hazrat Anas, may Allah be pleased with him, whether you people used to place wagers on horse racing during the time of the Prophet, peace and blessings be upon him? So we went to him and asked him, and he replied, "Yes! Once the Prophet, peace and blessings be upon him, participated in a horse race with one of his horses, whose name was Subhah, and it went ahead of all the others, which delighted him."
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 12627