From Arabic غَسَلَ (ḡasala) with irregular devoicing of the onset as also in ħafer (“to forgive”), from assimilation to the following -s- in conjugated forms.
ħasel (imperfect jaħsel, past participle maħsul)