Sunan Ibn Majah, Book 24, Hadith 34 (Ibn Majah 2788)

It was narrated from ‘Urwah Al-Bariqi that the Messenger of Allah (ﷺ) said:

“Goodness is tied to the forelocks of horses until the Day of Resurrection.”