The Prophet (ﷺ) said: There must be no shouting or leading another horse at one's side. Yahya added in his tradition: When racing for a wager.
Sunan Abi Dawud Book 15, Hadith 105