Ribat

Ribat of Monastir, Tunisia

A ribāṭ (Arabic: رِبَـاط; hospice, hostel, base or retreat) is an Arabic term, initially designating a small fortification built along a frontier during the first years of the Muslim conquest of the Maghreb to house murabitun 'volunteer military personnel', and shortly, after they also appeared along the frontier with the Byzantine Empire, where they attracted converts from Khorasan, an area that would become known as al-ʿAwāṣim in the ninth century.

Ribat fortifications later served to protect commercial routes as caravanserais, to serve as centers for isolated Muslim communities, and as places of piety.