The Messenger of Allah ﷺ said, "Goodness is tied to the forelocks of horses until the Day of Judgment."
أن رسول الله ﷺ قال: الخيل في نواصيها الخير إلى يوم القيامة.
Malik narrated it in jihad (44) from Nafi, from Ibn Umar, and mentioned it. Bukhari narrated it in jihad and expeditions (2849), and Muslim in leadership (1871:96), through the route of Malik, with the same wording.