"I saw people being beaten (in punishment) at the time of the Messenger of Allah for buying food unmeasured and selling it before bringing it to their own camp."
Sunan an-Nasa'i Book 44, Hadith 160