Sayyiduna Khabbab bin al-Aratt (may Allah be pleased with him) narrated that the Messenger of Allah (peace and blessings be upon him) said: "Horses are of three kinds: a horse for the Most Merciful, a horse for a human being, and a horse for Satan. The horse of the Most Merciful is the one kept in the path of Allah and on which the enemies of Allah, the Mighty and Majestic, are fought. The horse of a human being is the one from which offspring are sought and which is used for riding and carrying loads. And the horse of Satan is the one on which gambling and wagers take place."
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3692