Sahih Bukhari Volume 3, Book 35, Hadith Number 445.
Narated By Ibn ‘Abbas : The Prophet came (to Medina) and he told the people (regarding the payment of money in advance that they should pay it) for a known specified measure and a known specified weight and a known specified period.