The Prophet ﷺ forbade the selling of foodstuff before receiving it. I consider that all types of sellings should be done similarly. (Using translation from Bukhārī 2135)
سَمِعْتُ ابْنَ عَبَّاسٍ يَقُولُ أَمَّا الَّذِي نَهَى عَنْهُ رَسُولُ اللهِ ﷺ فَهُوَ الطَّعَامُ أَنْ يُبَاعَ حَتَّى يُقْبَضَ