Abdullah bin Omar – may God be pleased with them both – said: “The Messenger of God – may God’s prayers and peace be upon him – ran what was hidden from the horses: from Al-Hafa’a to Thanyah Al-Wadaa, and he ran what was not hidden: from Al-Thiniyah to the mosque of Bani Zuraiq. Ibn Omar said: I was among those who were So the Persians circled the mosque with me, Sufyan said: From Al-Hafya to Al-Thunya is five or six miles. In another narration: “Six or seven. From Al-Thaniya to the Bani Zuraiq Mosque, a mile or so.
Bukhari and Muslim.
And the meaning of the horse roamed the mosque with me: that is, the horse almost equaled the mosque with me, as he leaped with it until it almost equaled the mosque. This meaning is explained by the narration of Al-Tirmidhi: “My horse jumped against a wall.” And its attribution is correct.

This hadith indicates that it is legal for the leader of the state or ruler to undertake the dressed horses (prepared for racing), with proper nutrition and training for the race, as well as holding competitions between horses that are not prepared with a reduced distance.