Sayyiduna Ubadah bin Samit (may Allah be pleased with him) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "Gold for gold, silver for silver, wheat for wheat, barley for barley (the exchange) must be equal and hand to hand. When their types differ, then sell as you wish, provided it is hand to hand."