We were with the Messenger of Allah ﷺ on the day of Khaybar, trading with the Jews an ounce of gold for a Dinar. The version other than Qutayba's says, for two or three Dinars. Then the narrators agreed on the rest. The Messenger of Allah ﷺ said, "Do not sell gold for gold except weight for weight."
حدثنا قتيبة بن سعيد حدثنا الليث عن ابن أبي جعفر عن الجلاح أبي كثير حدثني حنش الصنعاني
كنا مع رسول الله ﷺ يوم خيبر نبايع اليهود الأوقية من الذهب بالدينار قال غير قتيبة بالدينارين والثلاثة ثم اتفقا فقال رسول الله ﷺ لا تبيعوا الذهب بالذهب إلا وزنا بوزن