(Concerning exchange) that he heard Allah's Messenger (ﷺ) saying, "Do not sell gold for gold unless equal in weight, and do not sell silver unless equal in weight."
Sahih al-Bukhari Book 34, Hadith 126