A handwritten contract preserved in Timbuktu names a second city far across the Sahara: Ghadames, in what is now Libya. It records an agreement about the sale and forced transport of enslaved people. Read beside the city’s teaching texts and family collections, it shows why Timbuktu’s history cannot be told through its mosques or its trade goods alone.
Timbuktu became a center of trade and scholarship because it linked caravan routes across the Sahara to communities along the Niger River. Merchants brought the city into contact with distant markets, while teachers, scribes and families made it a place where books were studied, copied and preserved across generations.
How to use this article: Start with the digitized contract, see where boats and caravans connected, discover how law was taught in verse, or follow the family that kept it.
A contract that names two cities
If you open the Library of Congress catalog record, the English title is Commercial Agreement (Slave Trade). Library staff supplied that title; it is not a transcription of a heading in the original. The catalog describes an agreement among merchants who sold and transported enslaved people between Timbuktu and Ghadames. It is evidence of a relationship between two markets and a reminder of the human cost of part of that commerce.
What you can see in the digitized record
The catalog gives enough information to locate both cities and identify the subject without trying to decipher the handwriting. It does not establish where the document was written, when a caravan departed, which stops anyone made, or whether this particular agreement was carried out. Those gaps matter: a contract is evidence of a transaction being arranged, not a diary of the journey.
Where the Niger met the caravan trade
Timbuktu is in present-day Mali, just north of the Niger River near its great bend. Ghadames is an oasis on the other side of the Sahara, near the western edge of present-day Libya. Those are modern country names for orientation. The state boundaries on the map are not the boundaries merchants would have known.

What changed when a load reached the Niger?
Salt from the Saharan mining center of Taghaza offers a concrete example. By the early 15th century, caravans brought loads south to Timbuktu, where the nearby river port made it possible to put salt and other goods into canoes for the next leg. This was a different trading connection from the one named in the Ghadames contract. The river gave merchants access to settlements farther south and west, while the desert routes reached oasis towns and North African markets. The city mattered not because it sat directly on the riverbank, but because the river was close enough to connect its markets to both networks.
Trade alone does not explain why so many texts survive. It does explain why a market town was a useful place for people from different regions to exchange books and ideas. The remaining question is what local readers did once a text arrived.
How Timbuktu’s scholars used books
Timbuktu was already an important center of Islamic learning by the time its mosques and schools reached their greatest prominence in the 15th and 16th centuries. Sankore was one of several mosques associated with that scholarly life, alongside Djingareyber and Sidi Yahia. It is more helpful to picture networks of teachers, students and books than a single campus where all of the city’s scholars worked.
Why put commercial law in verse?
Another manuscript gives a clue. In Laws of Commerce in Verse, Ahmad ibn Bud ibn Muhammad al-Fullani explained rules for transactions in a form students could memorize. The poem and the Ghadames contract are unrelated documents. Together, though, they show two things people did with writing: one used it to record an agreement; the other used it to teach how agreements should work.
Not all the books were imported. The Mamma Haidara collection holds works copied from texts originating in North Africa, the Middle East and Andalusia, alongside writing by authors from Timbuktu and neighboring regions. That mix matters. A collection of imported books would show what a city could acquire. Local poetry, legal commentaries and religious works show what its readers and writers contributed.
The family library that kept the contract
From a family collection to a public catalog
Abdel Kader Haidara inherited the core of the Mamma Haidara collection from his father and expanded it by collecting manuscripts from Timbuktu and the surrounding region. The contract’s catalog identifies his family library as the holder of the original. The Library of Congress provides a digital doorway to the document, not a replacement for its Malian custodian.
When the conflict in Mali threatened collections in 2012, Haidara and other local custodians helped move manuscripts from private libraries to Bamako. The University of Hamburg’s preservation project describes how people moved manuscripts out in stages, sometimes using donkey carts or canoes before transferring the chests to vehicles. The owners’ cooperative he leads, SAVAMA-DCI, later worked with the Hill Museum & Manuscript Library to digitize and catalog manuscripts. A rescue protects the physical pages; a catalog gives the next reader a way to find, distinguish and cite them. Neither step tells us every hand the contract passed through before it arrived in the family collection.
Frequently Asked Questions
What did Timbuktu’s scholars write about besides religion?
Surviving works cover astronomy, inheritance, commerce and poetry. For example, a copy of The Important Stars Among the Multitude of the Heavens dated 1733 uses a diagram and explains how to use the movement of stars to reckon the start of seasons.
Why did families keep their own manuscript collections?
For a scholarly family, books were material for study and teaching that could be passed on. A family collection could also grow beyond the works it inherited, as Haidara’s did when he sought manuscripts from other owners in Timbuktu and the wider region.
Are the manuscripts all in one library?
No. Timbuktu’s manuscript heritage includes many private collections and public holdings, including the Ahmad Baba institute. A digitized record usually names the particular library that held or contributed the manuscript. That is a better guide to ownership than the website showing the scan.
What Did We Learn Today?
The Niger and the Sahara help explain why people and books reached Timbuktu. They do not explain, by themselves, why we can still read what people wrote there. To follow the contract from a historical trading network to the screen today, we also have to follow the work of local teachers, scribes and the families who kept their collections intact.
Sources & Data Notes
View manuscript records, map data and photo credit
The contract’s catalog range of 1500–1900 is not an exact date. The map uses present-day borders and heritage-site points for the two cities. It shows a regional section of the Niger, not the entire river or a historical itinerary.
- Library of Congress: Commercial Agreement (Slave Trade); original held by the Mamma Haidara Commemorative Library.
- Library of Congress: Ancient Manuscripts from the Desert Libraries of Timbuktu, including the astronomy and commercial-law texts.
- UNESCO World Heritage Centre: Timbuktu and Old Town of Ghadamès, with heritage coordinates.
- Roland Oliver and Anthony Atmore: The African Middle Ages, pp. 7–8, on salt caravans and river transport.
- Hill Museum & Manuscript Library: cataloging the Mamma Haidara Library and its work with Malian custodians.
- University of Hamburg: Safeguarding the Manuscripts of Timbuktu, on the 2012–13 evacuation.
- Map data: Natural Earth 1:50m present-day boundaries and 1:50m river centerlines.
- Cover: Sankore Mosque in Timbuktu, upyernoz, March 20, 2005, CC BY 2.0, cropped.

