(42) باب كَمِ التَّعْزِيرُ وَالأَدَبُ
Narrated `Abdullah bin `Umar:
Those people who used to buy foodstuff at random (without weighing or measuring it) were beaten in the lifetime of Allah's Messenger (ﷺ) if they sold it at the very place where they had bought it, till they carried it to their dwelling places.
Reference: Sahih al-Bukhari 6852
In-book reference: Book 86, Hadith 75
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 82, Hadith 835