Sahih Bukhari Volume 3, Book 34, Hadith Number 347.
Narated 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.