حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَمُحَمَّدُ بْنُ يَحْيَى، قَالاَ حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَنْبَأَنَا سُفْيَانُ بْنُ حُسَيْنٍ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَنْ أَدْخَلَ فَرَسًا بَيْنَ فَرَسَيْنِ وَهُوَ لاَ يَأْمَنُ أَنْ يَسْبِقَ فَلَيْسَ بِقِمَارٍ وَمَنْ أَدْخَلَ فَرَسًا بَيْنَ فَرَسَيْنِ وَهُوَ يَأْمَنُ أَنْ يَسْبِقَ فَهُوَ قِمَارٌ ‏"‏ ‏.‏

It wasnarrated from Abu Hurairah that the Messenger of Allah (PBUH)said: “Whoever enters a horse (in a race) between two other horses,notknowing whether it will win, that is not gambling. But whoeverentersa horse (in race) between two other horses, certain that itwill win,that is gambling.” Translation Not Available

Book Ref: Sunan Ibn Majah Book 24 Hadith 2876
Web Ref:  Sunan Ibn Majah Vol 4 Book 24 Hadith 2876