The Prophet ﷺ forbade the sale of gharar. Uthman added, "and the sale of the pebble."
حدثنا أبو بكر وعثمان ابنا أبي شيبة قالا حدثنا ابن إدريس عن عبيد الله عن أبي الزناد عن الأعرج
أن النبي ﷺ نهى عن بيع الغرر زاد عثمان والحصاة
No references are available.
Muslim narrated it in the Book of Business Transactions, chapter on the invalidity of the pebble sale, which involves uncertainty, hadith no. 1513, from Abu Bakr bin Abu Shayba, with this chain.