Outside the red ramparts of Marrakesh, the Haouz plain stretches toward the snow-streaked wall of the High Atlas. In summer, the heat turns the horizon into a wavering mirror; in winter, dust-laden winds strike the clay battlements with the dry rattle of sand against fired brick. For more than nine centuries, travelers approaching the southern capital did not look only to the Koutoubia minaret to know they had arrived. They looked to the domes. Whitewashed, fluted, or modest as overturned clay bowls, the shrines of the saints sit along the avenues of approach, clustered beside city gates or tucked into the maze of the old medina.

The Ring of Seven Tombs

Locals call them the Sab'atu Rijal—the Seven Men. They are not mythical heroes from an oral epic, nor are they a collective brotherhood who lived and died together. They were seven historical scholars, ascetics, and judges who died centuries apart, between the twelfth and early sixteenth centuries. Yet in popular belief and spatial practice, they function as a single apparatus: a protective circle drawn tightly around Marrakesh.

To walk the circuit of their shrines is not merely to honor the dead. In Maghrebi folk cosmology, the earth is layered, porous, and continuously inhabited by unseen forces. Natural disasters, plagues, tribal invasions, and the unpredictable malice of spirits known as the jnun are understood to press continually against the fragile order of human settlement. Against these perils, the baked mud of the city wall has never been considered enough. The true defenses of Marrakesh are invisible, anchored in the physical remains of holy men whose spiritual force continues to govern the territory from beneath the flagstones.

An Empire in Need of Anchors

An Empire in Need of Anchors
Editorial illustration · An Empire in Need of Anchors

The assembly of these particular seven men into a unified spiritual garrison was not an ancient custom that formed by accident. It was an act of deliberate statecraft, forged in the late seventeenth century at the intersection of political crisis and mystical geography.

When the Alaouite dynasty consolidated its rule over Morocco under Sultan Moulay Ismail, who reigned from 1672 to 1727, the central government faced deep regional divisions. To the west, in the coastal region of Chiadma near Essaouira, the Berber populations practiced an immensely popular spring pilgrimage known as the ziyara of the Regraga. Every year, thousands of pilgrims spent forty days traveling among seven rural shrines dedicated to local Amazigh saints, establishing tribal alliances and economic ties outside royal control.

Recognizing the political hazard of an independent spiritual axis, Moulay Ismail turned to his close, albeit contentious, intellectual advisor: the polymath, jurist, and mystic Abu 'Ali al-Hasan al-Yusi. Al-Yusi understood that a popular ritual cannot simply be outlawed; it must be supplanted. He designated seven historical luminaries buried in and around Marrakesh, creating an urban pilgrimage that rivaled the Regraga circuit in structure and spiritual prestige.

By tethering civic identity to these seven figures, the Moroccan crown reasserted orthodox Sunni and Sufi credentials in a capital frequently unsettled by tribal rebellion while framing the city itself as an inviolable sanctuary. What began as a strategic royal intervention swiftly took root in the popular imagination. Residents did not see al-Yusi’s project as political engineering; they saw it as the revelation of a truth hidden in the soil of their city all along.

The Anatomy of Baraka

The Anatomy of Baraka
Editorial illustration · The Anatomy of Baraka

To understand how a stone mausoleum can serve as a military rampart in the popular mind, one must understand the Maghrebi concept of baraka. Often translated loosely as "blessing," baraka is conceived across North Africa as something far more concrete. It is an active, transmissible spiritual energy—an endowment of divine favor that clings to the bodies of the saints during life and saturates their bones, clothing, and burial earth after death.

Baraka is not passive grace. It is a force that acts upon its surroundings, capable of healing disease, averting curses, softening the hearts of despots, and pacifying hostile spirits. Where a saint is laid to rest, an invisible boundary forms known as the hurm—an inviolable zone of asylum where violence is forbidden, where fugitives can seek safety from the law, and where chaotic unseen entities cannot enter without burning.

Yet baraka exists in constant tension with the Maghrebi spirit world. Folk belief holds that the earth belongs fundamentally to the jnun, elder creatures formed of smokeless fire who inhabit subterranean streams, threshold stones, cemeteries, and desolate plains. When human beings build walls and irrigate fields, they trespass upon spirit ground.

Without constant spiritual mediation, the anger of the jnun manifests as drought, sudden paralysis, madness, or social discord. The saint, or wali, is viewed as a mediator capable of dealing with both worlds. By virtue of ascetic mastery and divine favor, the holy man brings the capricious forces of the soil into balance. His tomb serves as a lightning rod, gathering divine mercy and distributing it across the surrounding neighborhoods, keeping the shadows from overwhelming the living.

Sidi Yusuf ibn 'Ali: The Cave Outside the Wall

Sidi Yusuf ibn 'Ali: The Cave Outside the Wall
Editorial illustration · Sidi Yusuf ibn 'Ali: The Cave Outside the Wall

The pilgrimage through this spiritual fortress begins not in the center of power, but in the desolate margin outside the southern gate of Bab Aghmat. Here lies Sidi Yusuf ibn 'Ali, a man whose life established the archetypal relationship between suffering, seclusion, and unseen authority.

Living in the late twelfth century, Yusuf was struck down in his youth by leprosy. Cast out by his family and driven from the city out of fear of contagion, he made his home in a subterranean cave in the dry ravine of the gully outside the wall. In popular memory, he lived entirely isolated from ordinary human congress, watching his flesh decay while refusing to abandon his devotion. Legend records that even as his fingers and limbs were consumed by the disease, he praised God for leaving him his tongue to remember the divine names.

Because he endured what others could not bear, Yusuf ibn 'Ali came to be viewed as a master of extremes. The desolate ditch where he lived was precisely the sort of liminal, abandoned place where malevolent jnun congregate. By surviving there for decades, serene and uncorrupted in spirit, Yusuf subdued the wasteland.

When he died in 1196, his cave became a shrine. Today, pilgrims visit him first, traditionally on Tuesdays. The site retains the stark atmosphere of its origins. Those who suffer from chronic ailments, skin diseases, or sudden strokes of devastating misfortune come down into his quiet precinct, seeking the endurance of a man who turned an outcast’s ditch into the first bastion of the city’s defense.

Qadi 'Iyad: The Citadel of the Law

Qadi 'Iyad: The Citadel of the Law
Editorial illustration · Qadi 'Iyad: The Citadel of the Law

From the barren ditch of Bab Aghmat, the pilgrimage moves northeast to the tomb of Qadi 'Iyad ibn Musa, buried near Bab Aylan. The atmosphere changes completely. Where Yusuf represents the radical endurance of the body, Qadi 'Iyad represents the imposing architecture of sacred law.

Born in Ceuta in 1083, 'Iyad was one of the preeminent jurists of Islamic Andalusia and the Maghreb, serving as a Maliki judge of legendary severity and precision. He is renowned throughout the Muslim world for his masterpiece, Kitab ash-Shifa bi-Ta'rif Huquq al-Mustafa—a profound, exhaustively researched defense of the person, honors, and metaphysical status of the Prophet Muhammad.

In the defensive logic of Marrakesh, the law is not considered a secular code; it is a sacred fence. Where the law is kept with absolute rectitude, corrupting spirits find no purchase. Popular folklore asserts that Qadi 'Iyad’s shrine holds a distinct, ordering authority that dispels disorientation and false visions. If the wilderness outside the gate represents moral and spiritual chaos, the presence of the great magistrate inside the wall ensures that clarity, justice, and order prevail.

Pilgrims visit his shrine on Wednesdays, frequently bringing documents, legal disputes, and anxieties over personal debts. Folk memory has transformed the historical judge into an eternal arbiter: a spirit of absolute discernment who guards the eastern flank of the city against the spiritual rot that follows corruption and injustice.

Sidi Bel Abbas: The Mathematics of Giving

Sidi Bel Abbas: The Mathematics of Giving
Editorial illustration · Sidi Bel Abbas: The Mathematics of Giving

Passing north toward the highest point of the medina, one arrives at Bab Taghzout and the vast, bustling complex of Sidi Bel Abbas as-Sabti. If Marrakesh can be said to have a single spiritual ruler, it is Bel Abbas. He is the master patron of the city, whose influence saturates its markets, charities, and street life.

Originally from Ceuta, Bel Abbas arrived in Marrakesh in the mid-twelfth century during the Almohad era. He rejected institutional appointments, choosing instead to live as an ascetic on the slopes of Jbel Guéliz, the red hill northwest of the city. His teaching was stripped of all scholarly ornamentation, reduced to a single, radical principle: Baraka flows only where wealth does not stop. To withhold charity is to invite economic and physical ruin; to give freely is to compel divine generosity.

Bel Abbas made himself the advocate of those whom the medieval city despised: the blind, the lame, the destitute, and the insane. He walked the markets, haranguing merchants to share their profits, teaching that the circulation of bread was equivalent to the circulation of blood in the social body. Legend records that the Almohad ruler Ya'qub al-Mansur visited the hermit on Jbel Guéliz to ask what defense Marrakesh possessed against famine and rebellion. Bel Abbas replied by demanding coins for the poor, telling the monarch that an empire protected by fed beggars was safer than one protected by five thousand lances.

Today, his shrine functions as a continuous engine of mutual aid. Soup kitchens, schools for the blind, and quarters for the destitute surround his tomb. In local lore, Bel Abbas is visited on Thursdays, especially by traders and beggars before the Friday prayer. Merchants leave a percentage of their earnings in his collection boxes to guarantee good fortune in the souks, while blind musicians gather in the courtyards under his direct protection. In the spiritual geography of the city, Bel Abbas protects the northern quadrant by ensuring that greed does not invite the spiritual rot of poverty and starvation.

Al-Jazuli: The Wandering Corpse and the Well

Al-Jazuli: The Wandering Corpse and the Well
Editorial illustration · Al-Jazuli: The Wandering Corpse and the Well

Southward into the interior of the medina, down narrow corridors flanked by tall, blind walls, lies the shrine of Sidi Muhammad ibn Sulayman al-Jazuli. A fifteenth-century Berber mystic from the Sous valley, al-Jazuli set in motion a spiritual revival whose tremors altered the entire political landscape of southern Morocco.

Al-Jazuli is celebrated as the author of the Dala'il al-Khayrat, an immensely popular manual of litanies and prayers for the Prophet that was copied into tens of thousands of manuscripts across North Africa, the Ottoman Empire, and South Asia. Yet his legend in Marrakesh is shaped by images of drought, pure water, and a body that refused to decay.

A classic story tells how, in his youth, al-Jazuli searched for water in the desert to perform his ablutions before prayer. Finding a well whose bucket was missing, he stood helpless at the brink until a young girl spat into the deep dark shaft. Instantly, the water rose, brimming over the rim of stone so that the future saint could wash his hands and feet without effort. When he asked the girl how she possessed such power, she replied that it was through simple, total devotion to the Prophet. The miracle humbled him and set him on his lifelong path: searching for the spiritual springs that could make dry soil fertile.

Al-Jazuli's death in 1465 marked the beginning of an extraordinary, haunting afterlife. As Portuguese forces encroached on the Moroccan coast and tribal rivalries tore the interior apart, his disciples carried his wooden coffin from battlefield to battlefield for decades as a talisman of divine favor. When the Saadian dynasty finally interred his remains in Marrakesh seventy-seven years after his death, witnesses reported that his body was completely uncorrupted, looking as though he had passed away only hours before. In the popular mind, this preservation was ultimate proof of his sanctity: the soil itself, which consumes all mortal flesh, had no power over him. Visited on Fridays, al-Jazuli anchors the interior of the city, acting as a deep well of vitality that counters spiritual exhaustion and the deadening effects of drought.

The Green Branches of Al-Tebba' and Al-Ghazwani

The Green Branches of Al-Tebba' and Al-Ghazwani
Editorial illustration · The Green Branches of Al-Tebba' and Al-Ghazwani

The two saints who follow al-Jazuli in the weekly circuit represent the direct lineage of his mystical order, bringing the divine power cultivated in retreat into the active life of urban crafts and agriculture.

Sidi 'Abd al-'Aziz at-Tebba', buried near the Muwassin quarter, was al-Jazuli’s chief disciple. In life, he worked as a humble silk weaver, sitting at the loom through the day and teaching his students through the night. His shrine, visited on Saturdays, became the spiritual heart of the city’s artisanal guilds. Folk belief connects the rhythmic, interlaced patterns of weaving with the repetition of the divine names. By anchoring holiness within the physical craft of silk production, at-Tebba' assured the weavers, tanners, and dyers that their honest labor was itself a protective fabric cast over the city.

Immediately following at-Tebba' is his own disciple, Sidi 'Abdallah al-Ghazwani, affectionately called Moul El Ksour—the Master of the Palaces. Ghazwani was a mystic with an earth-stained hand. He was an engineer of irrigation channels, a planter of palm groves, and a master of orchards.

In Maghrebi folklore, running water is the primary residence of the jnun. Springs and subterranean canals (khettaras) are spaces of constant peril where water-spirits must be placated with gifts of bread, salt, or silence. Ghazwani, through his deep practical knowledge of hydraulics and earthworks, was seen as a man who could negotiate with the earth without fear. Legend records that when a hostile governor tried to starve Ghazwani’s community by cutting off their water supply, the saint struck the dry earth with his staff, causing sweet water to bubble up directly beneath his feet. Visited on Sundays, Ghazwani’s tomb in the Ksour quarter stands as a guard over the water table of Marrakesh, ensuring that the hidden veins running beneath the foundations remain untainted by malevolent entities.

Al-Suhayli: The Fragrant Grave by the Southern Gate

Al-Suhayli: The Fragrant Grave by the Southern Gate
Editorial illustration · Al-Suhayli: The Fragrant Grave by the Southern Gate

The circuit closes near Bab ar-Rabb with the shrine of Sidi 'Abd ar-Rahman al-Suhayli, completing the septet on Mondays. Born near Malaga in 1114, al-Suhayli was a celebrated grammarian, poet, and scholar of early Islamic history who spent the last years of his life in Moroccan exile.

Like Bel Abbas, al-Suhayli was blind from youth, living in a world defined entirely by sound, intellect, and internal vision. He is famous for his theological writings on the enigmatic names mentioned in the Qur'an and his deeply emotive religious verse. Despite his monumental learning, his resting place near the southern ramparts carries a tone of gentle, melancholy grace.

Folk belief associates al-Suhayli’s tomb with relief from grief, unresolved longing, and the terrors of obscurity. Because he was a stranger from Andalusia who died far from his ancestral home, he is seen as the patron of travelers, foreigners, and those who feel dislocated in the world.

A persistent local tradition claims that the soil around his grave carries a natural fragrance, resembling dried musk or crushed orange blossom. Pilgrims collect small pinches of earth from the margins of his courtyard to place in their homes as a charm against house-haunting spirits and domestic despair. By placing the blind Andalusian stranger at the final gate of the circuit, the spatial ritual ensures that the outer edge of Marrakesh remains tender toward the vulnerable, closing the boundary with compassion rather than exclusion.

The Seven-Day Circumambulation

The Seven-Day Circumambulation
Editorial illustration · The Seven-Day Circumambulation

The ritual visiting of the Seven Men—the ziyara—is not an erratic stroll; it is a counter-clockwise circumambulation that unfolds across seven consecutive days, beginning on Tuesday and concluding on Monday:

Tuesday: Sidi Yusuf ibn 'Ali (outside Bab Aghmat) / Wednesday: Qadi 'Iyad (near Bab Aylan) / Thursday: Sidi Bel Abbas as-Sabti (Bab Taghzout) / Friday: Sidi Muhammad ibn Sulayman al-Jazuli (Riyad al-Arous) / Saturday: Sidi 'Abd al-'Aziz at-Tebba' (al-Muwassin) / Sunday: Sidi 'Abdallah al-Ghazwani (al-Ksour) / Monday: Sidi 'Abd ar-Rahman al-Suhayli (Bab ar-Rabb)

This order is deliberately structured. The movement echoes the counter-clockwise circling (tawaf) performed by pilgrims around the Kaaba in Mecca, as well as the observed rotation of the stars around the celestial pole. By walking this path, the pilgrim physically traces an invisible ring that encloses the medina.

The progression also traces a careful theological and emotional arc. The pilgrim begins outside the walls with Yusuf ibn 'Ali, confronting bodily affliction, exile, and the wild terrain of the ravine. From there, the route enters the city to encounter the intellectual armor of the law (Qadi 'Iyad), the social solidarity of charity (Bel Abbas), and the interior spiritual fountain of mystical prayer (al-Jazuli). It then weaves through the practical human disciplines of craft (at-Tebba') and agriculture (al-Ghazwani), before resting at the edge of the medina with the consoling memory of al-Suhayli. Each step grounds a different aspect of human survival—health, order, bread, devotion, craft, water, and peace of mind—into the geography of the city.

Guardians of the Gates and the Jinn

Guardians of the Gates and the Jinn
Editorial illustration · Guardians of the Gates and the Jinn

The stations of the Seven Men correspond closely with the historic gates (abwab) of Marrakesh, and this alignment reveals the deeper Maghrebi conviction that thresholds are inherently perilous. In traditional architecture, the city wall is a boundary of mud-brick, but its openings are spiritual leaks. Gates are where travelers enter carrying foreign dust, where corpses are carried out for burial, and where the unseen inhabitants of the open plains congregate after twilight. By stationing the major shrines immediately adjacent to the main access portals, the founders of the ritual established spiritual sentinels at every door.

The relationship between the saints and the jnun is not one of simple warfare; it is one of subjugation and governance. In Moroccan demonology, spirits are divided into tribes, nations, and moral allegiances. Some are devout and observant Muslims (mu'minin), while others are chaotic, pagan, or overtly destructive (shayatin).

The Seven Men are regarded as absolute masters over the local spirit tribes. A well-known medina legend asserts that every Thursday night, the spirit chiefs gather beneath the tomb of Bel Abbas to render their accounts, receiving their territories for the following week and swearing not to harm those who walk under the protection of the Seven.

When someone in Marrakesh suffers from sudden tremors, nightmares, or the spirit-affliction known as al-mamsus (being touched by a spirit), their family does not treat the condition as a purely psychological crisis. They bring the afflicted person to the courtyard of one of the Seven Men. The presence of the saint’s baraka is believed to function as a spiritual furnace: a heavy, sanctified pressure that forces the intrusive entity to submit, negotiate, or flee back through the city gates into the silence of the gravel plains.

Living Stones and Modern Devotion

Living Stones and Modern Devotion
Editorial illustration · Living Stones and Modern Devotion

Today, Marrakesh is an international capital of culture, filled with luxury boutique hotels, teeming traffic, and millions of tourists who pass the shrines without knowing who rests beneath the white plaster. Furthermore, decades of modern Islamic reformism have criticized the cult of saints, warning against the theological danger of seeking intercession from tombs rather than directing prayers exclusively to God.

Yet behind the modern facade, the circuit of the Seven Men remains vibrantly alive. Early on Tuesday mornings, older women, craftsmen, street vendors, and university students can still be seen walking the narrow streets toward Bab Aghmat. The collection boxes at Bel Abbas still overflow with coins; the soup kitchens still feed the blind; and people still pause at the threshold of al-Ghazwani to touch the brass grilles with their right hands, murmuring prayers for peace and water.

The Seven Men are no longer the political pawns of an Alaouite sultan, nor are they merely historical names inscribed on roadside plaques. They have become the psychic cartilage of Marrakesh. In a world characterized by sudden shifts, economic strain, and rapid modernization, the ring of tombs continues to provide a sense of rooted permanence.

For the people who inhabit the clay city, the ancient agreement still holds. As long as the counter-clockwise path is walked, as long as bread is shared in the name of Bel Abbas, and as long as the blind scholar by Bab ar-Rabb is remembered with fragrant earth, the invisible ramparts will stand—holding back the desert, pacifying the spirits of the soil, and preserving the sanctuary within the walls.

Further reading

Keep following the thread. This reference provides a starting point for exploring the tradition beyond our editorial interpretation.

Eickelman, D. F., Moroccan Islam: Tradition and Society in a Pilgrimage Center (University of Texas Press)External reference · Opens in a new tab Cornell, V. J., Realm of the Saint: Power and Authority in Moroccan Sufism (University of Texas Press)External reference · Opens in a new tab
Maghrebi Shrines Thanks for reading closely.
BA
WRITTEN BY

Bestiary Archive

Folklore & mythology. Exploring the places where local stories meet the wider imagination.