عَنْ جَابِرٍ قَالَ: إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ نَهَى عَنِ الثُّنْيَا إِلَّا أنْ يُعلمَ. رَوَاهُ التِّرْمِذِيّ
Translation

‘Ali said God’s Messenger forbade a forced contract, one which involves some uncertainty, and the sale of fruit before it is ripe. Abu I Dawud transmitted it.