Ribat-i Sharaf: A Seljuq Caravanserai on the Khurasan Road

Introduction

Ribat-i Sharaf addressed one of the most pressing practical problems facing travelers along the Silk Road routes: the need for safety, shelter, and security in remote territory far from any town. Built in 1114 under Seljuq patronage on the caravan road between Nishapur and Marv, it served merchants, officials, and possibly members of the sultan’s court as they moved through the province of Khurasan in northeastern Iran. Today the caravanserai stands in Shurlukh in Razavi Khorasan Province, an isolated ruin on an open landscape. What makes it architecturally distinctive is not tilework—the usual ornamental medium of later Persian buildings—but an extraordinary program of patterned brickwork and carved stucco that runs from the monumental entrance portal all the way back through the mosque at the heart of the complex.

A Royal Caravanserai

Ribat-i Sharaf is unusual among caravanserais in having not one but two courtyards arranged along its central axis. The outer courtyard served ordinary travelers; the inner, more elaborately decorated courtyard is generally understood to have accommodated royal or official visitors—possibly the Seljuq court itself. Hillenbrand, whose survey of Islamic architecture provides one of the most useful English-language treatments of Ribat-i Sharaf, observes that the building “combines in two separate sections of one building the functions of palace and caravanserai.”1 The inner courtyard contains its own mosque, stables, high-quality accommodation, and a large iwan with a domed chamber behind it that likely functioned as an audience hall. Every element is executed with exceptional care, leading Hillenbrand to conclude that the building has “aptly been termed a museum of the decorative (and, one might add, vaulting) techniques known at the time.”2

Photograph taken from below looking up into the interior of a domed brick chamber, where the collapse of the dome's apex reveals a star-shaped opening to the sky.

Interior view of a domed chamber in the inner courtyard, looking up at the star-shaped apex of a half-collapsed dome. Photograph by Bernard O’Kane, courtesy of the Fine Arts Library, Harvard College Library.

Layout and Plan

The caravanserai’s plan reflects both its defensive requirements and its dual function. Substantial outer walls surround the rectangular complex, broken by a single monumental entrance portal on the south face. Inside, travelers passed first into the outer courtyard, surrounded on all sides by rooms that could house caravans together with their pack animals—Hillenbrand notes that a caravanserai of this scale could accommodate as many as 400 animals.3 Beyond the outer courtyard lies the inner courtyard, distinguished by its heavier decorative program, its four-iwan configuration, and its dome chambers. The mosque, in the second courtyard, is not a separate building but a space integrated directly into the caravanserai’s fabric—signaling that this was as much a royal foundation as a commercial facility.

Black-and-white architectural floor plan of Ribat-i Sharaf showing a rectangular caravanserai divided into two courtyards along a central axis, with iwans, stables, and a mosque chamber integrated into the inner courtyard.

The two-courtyard plan of Ribat-i Sharaf. Drawing by Navid Jamali for Art and Architecture of the Middle Ages (artofthemiddleages.com).

Dating and Patronage

Ribat-i Sharaf is dated by inscription to 508/1114–15, with a later phase of renovation in 549/1154–55 under the direction of Turkān Khātūn, wife of the Seljuq sultan Sanǧar ibn Malikšāh.4 Its architecture and stucco decoration are closely related to Ribat-i Mahi, a nearby caravanserai on the same route whose inscription names Sultan Sanǧar and his vizier, Sadr ad-Din. Korn’s recent analysis of both buildings concludes that they must have been produced by the same workshop, probably led by a master builder from Sarakhs, and that their remarkable stylistic consistency points to active Seljuq investment in the Khurasan caravan network during Sanǧar’s reign.5 This interpretation places Ribat-i Sharaf within a broader pattern of dynastic building along the Silk Road—the Seljuqs were not simply providing shelter for travelers, but visibly asserting their presence along the major east-west trade route through their province.

Comparison with Ribat-i Mahi

Situated on the same road as Ribat-i Sharaf but roughly two days’ journey closer to Tus, Ribat-i Mahi provides the closest architectural comparison. Though it has long been attributed to the early eleventh century on the basis of a legendary anecdote about Sultan Mahmud of Ghazna, Korn’s identification of a Saljuq building inscription on the portal—recorded in a 1893 photograph preserved in the Gulistan Palace Museum in Tehran—confirms that Ribat-i Mahi is roughly contemporary with the first phase of Ribat-i Sharaf.6 Both buildings use the same bone-shaped brick motif, the same strapwork patterns, and the same style of carved stucco with dense Kufic inscriptions. These are not isolated monuments but fragments of a coherent architectural program that once populated the Nishapur-to-Marv road. Hillenbrand cautions that such buildings “cannot be understood in isolation, any more than they were built in isolation”—their full context, including supporting buildings along the same route, remains largely lost to us.7

Close-up photograph of carved stucco ornament on a squinch (the architectural element transitioning from a square room to a round dome), showing densely patterned geometric and vegetal decoration inside the mosque of Ribat-i Sharaf.

Interior detail of the mosque in the second courtyard, showing a squinch with carved stuccowork in the domed chamber. Photograph by Bernard O’Kane, courtesy of the Fine Arts Library, Harvard College Library.

Significance

Ribat-i Sharaf is among the few surviving monuments of Seljuq secular architecture in Iran and the single most elaborate Persian caravanserai known from the twelfth century. Its combination of a practical traveling function with the forms of royal palace architecture—a plan, a decorative program, and an audience hall all at the same scale as a major urban building—demonstrates how waystation architecture in the Seljuq Khurasan period had become inseparable from dynastic display. The caravanserai was simultaneously a place of shelter for merchants and a statement of authority imposed on the landscape.

Image Credits

Header image: Ribat-i Sharaf, exterior view of entrance portal. Source: Archnet.

Floor plan: Drawing by Navid Jamali for Art and Architecture of the Middle Ages. Source: artofthemiddleages.com.

Star atrium and mosque squinch photographs: Photographs by Bernard O’Kane. Source: Fine Arts Library, Harvard College Library, via Archnet.

  1. Robert Hillenbrand, Islamic Architecture: Form, Function, and Meaning (Edinburgh University Press, 1994), 344. 

  2. Hillenbrand, Islamic Architecture, 344. 

  3. Hillenbrand, Islamic Architecture, 331. 

  4. Lorenz Korn, “Ribat-i Mahi (Khurasan-i Razavi, Iran): Evidence of a Saljuq Building Inscription,” in Adle Nāmeh: Studies in the Memory of Chahryar Adle, edited by Alireza Anisi (Tehran: Research Institute for Cultural Heritage and Tourism, 2018), 77–78. 

  5. Korn, “Ribat-i Mahi,” 81–83. 

  6. Korn, “Ribat-i Mahi,” 83–86. 

  7. Hillenbrand, Islamic Architecture, 341.