Abu Labid Limazah bin Zabbar (may Allah have mercy on him) narrates that in the time of al-Hajjaj horses were let loose (for a race), so we said: "If only we could go to the place where the horse-race wagers are held and watch." So we went there. Then we said: "If only we could go to Sayyiduna Anas bin Malik (may Allah be pleased with him) and ask him whether you people used to bet on races in the time of the Messenger of Allah (peace and blessings be upon him)." (One manuscript has the wording "we turned aside," meaning we turned towards him.) So we came to him and asked him, and he said: "Yes, (the Messenger of Allah (peace and blessings be upon him)) placed a wager on a horse of his called Sabhah; it outran all the people, and he (peace and blessings be upon him) was very pleased with that."
Imam Ahmad (may Allah have mercy on him) narrated it like this in his Musnad.
He also narrated it from Affan bin Muslim (may Allah have mercy on him), from Sa'id bin Zayd (may Allah have mercy on him), from al-Zubayr (may Allah have mercy on him).
Abu Labid (may Allah have mercy on him) narrates: I asked Sayyiduna Anas (may Allah be pleased with him): "O Abu Hamzah! Did you people use to bet on races in the time of the Messenger of Allah (peace and blessings be upon him)? Did the Messenger of Allah (peace and blessings be upon him) also place wagers?" He said: "Yes, by Allah! He (peace and blessings be upon him) placed a wager on a mare called Sabhah; she came in ahead of all, and he (peace and blessings be upon him) was very pleased with that."
Imam al-Daraqutni (may Allah have mercy on him) narrated it from Ali bin Abdullah bin Mubashshir (may Allah have mercy on him), from Ahmad bin Sinan (may Allah have mercy on him), from Yazid bin Harun (may Allah have mercy on him), from Sa'id bin Zayd (may Allah have mercy on him).
And also from Ali (may Allah have mercy on him), from Ahmad bin Sinan (may Allah have mercy on him), from Affan bin Muslim (may Allah have mercy on him), from Sa'id bin Zayd (may Allah have mercy on him), from al-Zubayr (may Allah have mercy on him).