The Messenger of Allah ﷺ said, "Goodness is tied to the forelocks of horses until the Day of Resurrection."
أخبرنا قتيبة بن سعيد قال حدثنا الليث عن نافع
عن رسول الله ﷺ قال الخيل في نواصيها الخير إلى يوم القيامة
Recorded by Muslim, no. 1871, from Qutayba through the same route (see the previous hadith), and it appears in al-Kubra, no. 4415.