Yahya related to me from Malik that Yahya ibn Said heard Said ibn al-Musayyab say, "There is no harm in placing stakes on horses if a third horse enters it. The winner takes the stake, and there is no fine against the loser"
Maqtu SahihBook 21 · Hadith 45