AR Dirham, 1.3 g, 16 mm, possibly Tunis? mint but not legible on this poorly struck example.
Album 514 (S)
According to Album, Hafsid square dirhams "are identical to the Muwahhidun, but are written in square Kufic instead of rounded Naskhi script, but are much coarser than the Muwahhidun Kufic equivalent (cf. A-496A)…." (Album Checklist page 84, 3rd edition).
on the right side photo the three line inscription that appears on square dirhams of the Muwahhidun also appears here "Allah Rubna/Muhammah Rasulna/al-Mahdi Imamna", though much of the inscription is obscured by the poor strike.