Narrated Abu Hurairah:The Prophet (ﷺ) forbade the type of sale which involves risk (or uncertainty) and a transaction determined by throwing stones.
حَدَّثَنَا أَبُو بَكْرٍ، وَعُثْمَانُ، ابْنَا أَبِي شَيْبَةَ قَالاَ حَدَّثَنَا ابْنُ إِدْرِيسَ، عَنْ عُبَيْدِ اللَّهِ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم نَهَى عَنْ بَيْعِ الْغَرَرِ - زَادَ عُثْمَانُ - وَالْحَصَاةِ .
AbuDaud
Commercial Transactions (Kitab Al-Buyu) • Hadith 3376