It is narrated from a Companion of the Ansar (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Horses are of three kinds: one is the horse that a man keeps in the path of Allah (in preparation for jihad); its price is a source of reward, riding it is a reward and its fodder is a reward. The second is the horse by means of which a man gambles and places bets; its price is a sin, its fodder is a sin and riding it is a sin. And the third is the horse kept for the belly (that is, for one's livelihood and maintenance); 'In sha' Allah ta'ala' (if Allah Almighty wills), it is hoped that it will prove a shield against poverty and want (and a means of sufficiency)." Imam al-Harith bin Abi Usamah and Imam Ahmad bin Hanbal also recorded it. The narrators of this hadith are the narrators of the Sahih (al-Bukhari and Muslim), and this narration has come earlier in the Book of Jihad.