"The Messenger of Allah (ﷺ) forbade Gharar transactions. "

Sunan Ibn Majah Book 12, Hadith 59