[Machine] The Prophet ﷺ prohibited the selling of gharar (ambiguous or uncertain transactions) and said, "Indeed, the people of the pre-Islamic era used to engage in this type of transaction, where a man would sell a rope in the hope that a camel would be born from it." Muhammad ibn 'Ubayd mentioned in his narration that the Prophet ﷺ prohibited this practice.
نَهَى رَسُولُ اللهِ ﷺ عَنْ بَيْعِ الْغَرَرِ وَقَالَ إِنَّ أَهْلَ الْجَاهِلِيَّةِ كَانُوا يَتَبَايَعُونَ ذَلِكَ الْبَيْعَ يَبْتَاعُ الرَّجُلُ بِالشَّارِفِ حَبَلَ الْحَبَلَةِ فَنَهَى رَسُولُ اللهِ ﷺ قَالَ مُحَمَّدُ بْنُ عُبَيْدٍ فِي حَدِيثِهِ حَبَلَ الْحَبَلَةِ فَنَهَى رَسُولُ اللهِ ﷺ عَنْ ذَلِكَ