I used to sell camels, and I would take gold in place of silver and silver in place of gold, dinars in place of dirhams and dirhams in place of dinars. I asked the Prophet ﷺ about this, and he said, "When you take one and give the other, do not part from your companion while there is still anything unsettled between you."Yahya bin Hakeem narrated to us, Yaqub bin Ishaq narrated to us, Hammad bin Salama informed us, from Simak bin Harb, from Saeed bin Jubayr, from Ibn Umar, from the Prophet ﷺ, something similar.
حدثنا إسحق بن إبراهيم بن حبيب وسفيان بن وكيع ومحمد بن عبيد بن ثعلبة الحماني قالوا حدثنا عمر بن عبيد الطنافسي حدثنا عطاء بن السائب أو سماك ولا أعلمه إلا سماكا عن سعيد بن جبير
كنت أبيع الإبل فكنت آخذ الذهب من الفضة والفضة من الذهب والدنانير من الدراهم والدراهم من الدنانير فسألت النبي ﷺ فقال إذا أخذت أحدهما وأعطيت الآخر فلا تفارق صاحبك وبينك وبينه لبس حدثنا يحيى بن حكيم حدثنا يعقوب بن إسحق أنبأنا حماد بن سلمة عن سماك بن حرب عن سعيد بن جبير عن ابن عمر عن النبي ﷺ نحوه
[Its isnad is hasan]. Abu Dawud narrated it in Kitab al-Buyu, chapter on taking gold in place of silver, hadith 3354, 3355, from the hadith of Simak with this chain. Ibn Hibban graded it sahih (Mawarid), hadith 1128, as did Ibn Jarud, hadith 655, and Hakim, 2/44, on the criterion of Muslim, and Dhahabi agreed with him.