It was narrated from Salim that his father said: "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"
SahihSahihSahih - Agreed UponBook 44 · Hadith 160