The Prophet ﷺ forbade anyone from selling food he had purchased by measure until he had taken full possession of it.
أخبرنا سليمان بن داود والحارث بن مسكين قراءة عليه وأنا أسمع عن ابن وهب قال أخبرني عمرو بن الحارث عن المنذر بن عبيد عن القاسم بن محمد
أن النبي ﷺ نهى أن يبيع أحد طعاما اشتراه بكيل حتى يستوفيه
[Its chain of transmission is daif] Abu Dawud narrated it in the Book of Business Transactions, chapter on selling food before it is fully received, hadith 3495, from the hadith of Abdullah bin Wahb, through this same chain. It is also found in Al-Kubra, hadith 6197.Mundhir bin Ubayd was deemed reliable by Ibn Hibban alone, and the hadith of Muslim, 1525, renders it unnecessary.