[Machine] Narrated Ibn Mas'ud: The Prophet ﷺ said, "Horses are of three types: a horse owned by the Most Merciful, a horse owned by Satan, and a horse owned by humans. As for the horse owned by the Most Merciful, its dung and urine will be weighed in its favor on the Day of Judgment. As for the horse owned by Satan, it is the one that is gambled upon. And as for the horse owned by humans, it is the one that is tied with the intention of seeking sustenance and fearing poverty. If it is established that they participated in a race and did not enter them both as companions, it would be considered gambling, and it is not permissible. And Allah knows best."
عَنِ ابْنِ مَسْعُودٍ ؓ رَفَعَهُ إِلَى النَّبِيِّ ﷺ قَالَ الْخَيْلُ ثَلَاثَةٌ فَرَسٌ لِلرَّحْمَنِ وَفَرَسٌ لِلشَّيْطَانِ وَفَرَسٌ لِلْإِنْسَانِ فَأَمَّا فَرَسُ الرَّحْمَنِ فَالَّذِي يَرْتَبِطُ فِي سَبِيلِ اللهِ رَوَثُهُ وَبَوْلُهُ فِي مِيزَانِهِ وَأَمَّا فَرَسُ الشَّيْطَانِ فَالَّذِي يُرَاهِنُ عَلَيْهِ وَأَمَّا فَرَسُ الْإِنْسَانِ فَالَّذِي يَرْتَبِطُهَا يَلْتَمِسُ بَطْنَهَا مَخَافَةَ الْفَقْرِ وَهَذَا إِنْ ثَبَتَ فَإِنَّمَا أَرَادَ بِهِ وَاللهُ أَعْلَمُ أَنْ يُخْرِجَا سَبَقَيْنِ مِنْ عِنْدِهِمَا وَلَمْ يُدْخِلَا بَيْنَهُمَا مُحَلِّلًا فَيَكُونُ قِمَارًا فَلَا يَجُوزُ وَاللهُ أَعْلَمُ