Probably borrowed from a Middle Persian medical foreignism taken from Ancient Greek μάλαγμα (málagma), which later during the science translation movement was borrowed directly by Arabic from Greek as مَلْغَم (malḡam).
Practica parlar i memoritzar " مرهم " i moltes altres paraules i frases a Arabic .