The closest I could come to an ID for this coin is:
Ayyubid
al-Nasir Yusuf II 634-658 / 1236-1259
Aleppo
AE fals
The two problems:
1. The obverse legend is repeated on the reverse side.
2. The star is made of dots only, no lines. see this example:
https://en.numista.com/catalogue/pieces149491.html