Abu Sa'id al-Khudri (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying
Do not sell gold for gold and silver for silver weight for weight or of the same quality.