‘Umar reported God's Messenger as saying, "Gold for gold is usury unless both hand over on the spot*; silver for silver is usury unless both hand over on the spot; wheat for wheat is usury unless both hand over on the spot; barley for barley is usury unless both hand over on the spot; dates for dates is usury unless both hand over on the spot."
(Bukhari and Muslim.)
*"the Arabic is ha’ waha’ meaning literally "take and take”.
Abu Sa'id and Abu Huraira told that God’s Messenger appointed a man over Khaibar and he brought him dates of a very fine quality. He asked him whether all the dates of Khaibar were like that, and he replied, “I swear by God that they are certainly not, Messenger of God. We take a sa‘ of this kind for two, and two for three." So he said, "Do not do so. Sell the lot for dirhams, then buy the very fine dates for dirhams." He said that it was the same when things were sold by weight.
He reported God’s Messenger as saying, "Do not sell gold for gold unless it is like for like, and do not make one amount greater than the other; do not sell silver for silver unless it is like for like, and do not make one amount greater than the other; and do not sell for ready money something to be given later*.” A version has, "Do not sell gold for gold or silver for silver unless both are of equal weight.”
(Bukhari and Muslim.)
* Payment is not to be made till the goods are received.