The Prophet (ﷺ) forbade the selling of foodstuff before receiving it. I consider that all types of sellings should be done similarly. Sahih al-Bukhari Book 34, Hadith 87