Abu Saeed Khudri reported,

The Prophet ﷺ used to give us dates from the mixed dates as our ration, and we would exchange them for dates of better quality, paying extra in price. The Messenger of Allah ﷺ said, "A measure of dates for two measures is not permissible, nor a dirham for two dirhams. A dirham is exchanged for a dirham, and a dinar for a dinar, with no difference between them except in weight."

Ibn Majah 2256

Sahih

حدثنا أبو كريب حدثنا عبدة بن سليمان عن محمد بن عمرو عن أبي سلمة

عن أبي سعيد قال

كان النبي ﷺ يرزقنا تمرا من تمر الجمع فنستبدل به تمرا هو أطيب منه ونزيد في السعر فقال رسول الله ﷺ لا يصلح صاع تمر بصاعين ولا درهم بدرهمين والدرهم بالدرهم والدينار بالدينار لا فضل بينهما إلا وزنا

ابن ماجه 2256صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Trade
Chapter
Currency exchange and what is not permitted with excess in hand-to-hand transactions
Numbering
Darussalam 2256
Ibn Majah 2256