BAYHAQI 11173:
from ʿAlqamah b. ʿAbdullāh al-Muzanī from his father —
[Machine] The Messenger of Allah, ﷺ , forbade the breaking of the Muslims' monetary exchange unless it is necessary to break a dirham, in which case it should be replaced with silver, or to break a dinar, in which case it should be replaced with gold.
البيهقي ١١١٧٣:
عن علقمه بن عبد الله المزني عن أبيه —
أَنَّ رَسُولَ اللهِ ﷺ نَهَى أَنْ تُكْسَرَ سِكَّةُ الْمُسْلِمِينَ الْجَائِزَةُ بَيْنَهُمْ إِلَّا مِنْ بَأْسٍ أَنْ يُكْسَرَ دِرْهَمٌ فَيُجْعَلَ فِضَّةً أَوْ يُكْسَرَ الدِّينَارُ فَيُجْعَلَ ذَهَبًا
hadithunlocked.com