Sahih al-Bukhari, Book 56, Hadith 66 (Bukhari 2735)

Narrated Urwa bin Ja'd:

The Prophet (ﷺ) said, "Good will remain (as a permanent quality) in the foreheads of horses till the Day of Resurrection."