Sahih Bukhari | Volume 3 | Hadith Number 347

Narrated by Ibn 'Umar
I saw the people buy foodstuff randomly (i.e. blindly without measuring it) in the life- time of Allah's Apostle and they were punished (by beating), if they tried to sell it before carrying it to their own houses.