Sahih al-Bukhari 2182
Sahih al-Bukhari · Book 34: Sales and Trade · Selling of gold for silver from hand to hand
Narrated `Abdur-Rahman bin Abu Bakra:
حَدَّثَنَا عِمْرَانُ بْنُ مَيْسَرَةَ ، حَدَّثَنَا عَبَّادُ بْنُ الْعَوَّامِ ، أَخْبَرَنَا يَحْيَى بْنُ أَبِي إِسْحَاقَ ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ أَبِي بَكْرَةَ ، عَنْ أَبِيهِ ـ رضى الله عنه ـ قَالَ نَهَى النَّبِيُّ صلى الله عليه وسلم عَنِ الْفِضَّةِ بِالْفِضَّةِ وَالذَّهَبِ بِالذَّهَبِ، إِلاَّ سَوَاءً بِسَوَاءٍ، وَأَمَرَنَا أَنْ نَبْتَاعَ الذَّهَبَ بِالْفِضَّةِ كَيْفَ شِئْنَا، وَالْفِضَّةَ بِالذَّهَبِ كَيْفَ شِئْنَا.
that his father said, "The Prophet (ﷺ) forbade the selling of gold for gold and silver for silver except if they are equivalent in weight, and allowed us to sell gold for silver and vice versa as we wished."