Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said that the Messenger of Allah (peace and blessings be upon him) "forbade muhaqalah and muzabanah." And Ikrimah (may Allah have mercy on him) disliked the sale of qasil (i.e. another name for the muhaqalah sale).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 10643