It is narrated from an Ansari Companion (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 which a man keeps in the path of Allah (for jihad); its price is a reward, riding it is a reward, lending it (as help) is a reward, and its fodder is a reward. The second is the horse by which a person gambles and makes wagers; its price is a cause of sin, its fodder is also a sin, and riding it is also a sin. And the third is the horse which is kept merely for the sake of the belly (that is, for economic needs and livelihood); it is hoped that, if Allah wills, it will prove to be a barrier against poverty and want." Al-Harith bin Muhammad bin Abi Usamah and Imam Ahmad bin Hanbal also recorded this hadith, and I say: all the narrators of this hadith are narrators of the Sahih (al-Bukhari and Muslim).
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده صحيح
Hadith Takhrij«حسين بن علي الجعفي وزائدة والركين بن الربيع وأبو عمرو الشيباني ثقات (من الحفظ)؛ وإبهام الصحابي لا يضر؛ قال البوصيري: رجاله رجال الصحيح» «أخرجه مسند أحمد برقم: 16209، وأخرجه مصنف ابن أبي شيبة برقم: 11»