Here is an interesting article, which appeared in a December 2015 issue of Coin Week, describing the coinage of Islamic Spain. Scroll down to "Almohads (1147-1238)" and you will see a square, silver coin with script very similar to your example.
http://www.coinweek.com/world-coins...slamic-spainHope this helps!