Sahih al-Bukhari, Book 34, Hadith 88 (Bukhari 2060)

Narrated Ibn `Umar:

The Prophet (ﷺ) said, "The buyer of foodstuff should not sell it before it has been measured for him." Isma`il narrated instead, "He should not sell it before receiving it."