Muwatta Malik, Book 31, Hadith 77 (Muwatta Malik 1423)

Yahya related to me from Malik from Abu Hazim ibn Dinar from Said ibn al-Musayyab that the Messenger of Allah, may Allah bless him and grant him peace, forbade the sale with uncertainty in it. Malik said, "An example of one type of uncertain transaction and risk is that a man intends the price of a stray animal or escaped slave to be fifty dinars. A man says, 'I will take him from you for twenty dinars.' If the buyer finds him, thirty dinars goes from the seller, and if he does not find him, the seller takes twenty dinars from the buyer." Malik said, "There is another fault in that. If that stray is found, it is not known whether it will have increased or decreased in value or what defects may have befallen it. This transaction is greatly uncertain and risky." Malik said, "According to our way of doing things, one kind of uncertain transaction and risk is selling what is in the wombs of females - women and animals - because it is not known whether or not it will come out, and if it does come out, it is not known whether it will be beautiful or ugly, normal or disabled, male or female. All that is disparate. If it has that, its price is such-and-such, and if it has this, its price is such-and-such." Malik said, "Females must not be sold with what is in their wombs excluded. That is that, for instance, a man says to another, 'The price of my sheep which has much milk is three dinars. She is yours for two dinars while I will have her future offspring.' This is disapproved because it is an uncertain transaction and a risk." Malik said, "It is not halal to sell olives for olive...