Ultimately from Arabic قَرَنْفُل (qaranful), via another language on the trans-Saharan trade routes.
kànumfàr̃ī m (possessed form kànumfàr̃in)