Historical Background: From Crisis to Revival

By the 12th century, parts of the Muslim world were in turmoil. The Crusaders had captured Jerusalem in 1099, establishing Crusader states in the heart of the Levant. This was a time of pain and division, many Muslim regions were fragmented under different rulers. Ordinary Muslims cried out for relief as they heard of massacres and oppression under the Crusaders. The Quran describes situations like this, where the oppressed pray for help:

"And what is [the matter] with you that you fight not in the cause of Allah and [for] the oppressed among men, women, and children who say, 'Our Lord, take us out of this city of oppressive people and appoint for us from Yourself a protector...'?" (Quran 4:75)

Muslims longed for a leader who would answer this call. In the mid-1100s, the answer came in the form of Salahuddin Yusuf ibn Ayyub, known in the West as Saladin. He rose to prominence during a period of Sunni revival and unity. Salahuddin's very name, Salah ad-Din, means "Righteousness of the Faith," and he indeed lived up to it. Under his leadership and that of his successors, the Muslim world experienced a revival that reintegrated Egypt and the Levant into a united front against invaders. This was the dawn of the Ayyubid era, named after Salahuddin's father Ayyub (a name that echoes the Prophet Ayyub (Job) symbolizing patience and faith).

Only a few decades later, a new storm appeared from the East: the Mongols, who devastated Central and West Asia. In 1258 they sacked Baghdad and ended the Abbasid Caliphate, killing tens of thousands and burning libraries. It seemed like no power could stop them. But once again, in the darkest hour, the Muslim Ummah produced heroes, this time, the Mamluks of Egypt rose up to halt the Mongol advance. Their era would extend for over 250 years, preserving Islamic civilization when it was almost extinguished.

Both the Ayyubids and Mamluks demonstrated that when Muslims adhere to Islamic principles of unity, courage, and justice, even the mightiest foes can be overcome by the will of Allah. As the Quran promises:

"If Allah helps you, none can overcome you; but if He forsakes you, who is there that can help you? In Allah let the believers put their trust." (Quran 3:160)

The Ayyubid Era: Revival under Salahuddin

Salahuddin (Saladin) and the Founding of the Ayyubid Dynasty

Salahuddin (Saladin) is one of the most celebrated heroes in Islamic history. Born in Tikrit (Iraq) in 1137, he grew up at a time of Crusader occupation in Palestine and Fatimid rule in Egypt. The Fatimid government in Egypt followed the Ismaili Shi'a sect and had become weak and isolated. Salahuddin, a Sunni Muslim of Kurdish background, entered the scene as a young military commander serving Nur al-Din Zengi, the ruler of Syria. Salahuddin was known for his piety, humility, and intelligence from a young age. It is said he loved listening to Quran recitation and generously supported scholars, qualities that endeared him to the people . His rise to power was not just by the sword, but by winning hearts through justice and faith.

In 1169, Salahuddin became the Vizier of Egypt. Two years later, he peacefully ended the Fatimid caliphate and re-established Sunni Islam in Egypt. This was a major turning point. Egypt, which had been under Shi'a Fatimid rule for two centuries, was now reunited with the broader Sunni world. Salahuddin declared allegiance to the Abbasid caliph in Baghdad (the symbolic leader of Sunni Muslims) to show unity. The transition was smooth, Egyptians, who were mostly Sunni by background, welcomed the change. Only a short rebellion by the old palace guards occurred, which Salahuddin swiftly put down. With Egypt secured, Salahuddin set his sights on the greater threat: the Crusaders in the Holy Land.

Guided by his deep faith, Salahuddin worked tirelessly to unite Muslim lands. He brought Egypt and Syria under one banner, forging alliances or peacefully absorbing smaller states. His goal was not personal power, it was to defend the Ummah and reclaim Jerusalem, Islam's third holiest city. Muslims regarded this mission as a sacred cause, remembering how Prophet Muhammad (ﷺ) had cherished Jerusalem (home to Al-Aqsa Mosque):

"Glory be to Him Who took His servant by night from the Sacred Mosque to the farthest mosque (al-Masjid al-Aqsa), whose surroundings We have blessed, to show him of Our signs." (Quran 17:1)

Jerusalem (Al-Quds) is blessed in Islamic belief, and freeing it from oppression was a matter of faith. Before facing the Crusaders, Salahuddin strengthened his bases: he built up a strong army rooted in Islamic discipline and values. He famously enforced prayers and moral conduct in his ranks, reminding soldiers that victory comes from Allah, not just numbers. This echoes the Prophet's teaching that spiritual strength is key; as one hadith says: "O Prophet! Motivate the believers to fight..." (Quran 8:65). Salahuddin lived by this, motivating his men with faith. The Prophet Muhammad (ﷺ) also taught that believers must care for each other like one body, an ethic Salahuddin invoked to rally Muslims from various regions under one cause:

"The believers, in their mutual kindness, compassion, and sympathy, are just like one body. When one limb suffers, the whole body responds with wakefulness and fever." (Sahih Muslim)

With unity and trust in Allah, Salahuddin led a jihad (struggle) against the Crusaders. The defining moment was the Battle of Hattin in 1187 near Lake Tiberias. Despite the summer heat and a formidable enemy, Salahuddin's forces (driven by faith) won a resounding victory. They captured the relic of the True Cross from the Crusaders and took many prisoners. News spread across the Muslim world that Allah had given victory. Soon after, Salahuddin's army liberated Jerusalem. This was achieved with minimal bloodshed compared to the First Crusade: civilians were not harmed, churches were respected, and ransoms allowed many to leave safely. Salahuddin's character shone through these events. Even the Crusaders were astonished by his mercy and chivalry. Unlike the Crusader conquest decades earlier (when Jerusalem's streets had run with blood) Salahuddin's entry was compassionate and orderly. His Islamic upbringing taught him the hadith of mercy in warfare, and he put it into practice:

"The Messenger of Allah (ﷺ) forbade the killing of women and children (in war)." (Sahih Muslim)

This prophetic command shaped Salahuddin's conduct. He provided safe passage for women, children, and the elderly. He also showed kindness to captives, there are famous stories of him personally tending to King Richard the Lionheart's illness by sending fruits and his physician. Such actions were the embodiment of the Quranic ethic "If they incline to peace, then incline to it [also]" (Quran 8:61). Through these examples, Salahuddin turned even his enemies into admirers. Many Western historians, despite coming from the opposing side, have praised his noble character. This is the beauty of Islam, it nurtured in him qualities of generosity, honesty, and forgiveness that even those of other faiths respected.

After Jerusalem's liberation, the Crusaders launched the Third Crusade under Richard Lionheart. Intense battles followed, but Salahuddin stood firm and the Crusaders failed to retake Jerusalem. They eventually settled for a truce. Salahuddin's devotion to Allah was central in this period. He was often seen making du'a (supplication) and performing extra prayers at night, even during military campaigns . His reliance on Allah reflected the Quranic lesson that victory is ultimately from God:

"Victory comes only from Allah, the Mighty, the Wise." (Quran 3:126)

In 1193, Salahuddin passed away in Damascus. It's said he had so little personal wealth at death that there was not enough to pay for his own funeral, he had given most of his money in charity. This humility and selflessness endeared him to Muslims forever. Sultan Salahuddin's legacy endured: he had established a dynasty (the Ayyubid dynasty, named after his father Ayyub) that continued to rule for decades.

Achievements of the Ayyubid Era

After Salahuddin, the Ayyubid sultans (his brothers, sons, and nephews) maintained a realm that included Egypt, Syria, Palestine, parts of Iraq, Yemen, and the Hejaz. While they sometimes quarreled amongst themselves (dividing territories), they generally upheld the principles Salahuddin had set: defending Islam, promoting justice, and supporting knowledge. Some key achievements of the Ayyubid era include:

  • Establishment of Sunni Orthodoxy: The Ayyubids firmly re-established Sunni Islam in Egypt and surrounding lands. They founded madrasas (Islamic colleges) for teaching Quran, Hadith, and the four Sunni legal schools. In Cairo, Salahuddin and his successors built institutions for all four madhhabs (Hanafi, Maliki, Shafi'i, Hanbali) to cater to scholars and students of each school. This inclusive approach strengthened Sunni unity. One famous institution was the Salihiyyah Madrasa, founded by Sultan al-Salih, which was the first in Egypt to teach all four schools under one roof. The Ayyubids' restoration of Sunni scholarship was pivotal in uniting Muslims on religious grounds.

  • Defense against the Crusades: Under later Ayyubid rulers, the Crusader threat was kept at bay. For example, Sultan Al-Kamil (Salahuddin's nephew) faced the Fifth Crusade and eventually negotiated a settlement. At one point, in a gesture of diplomacy, Al-Kamil even allowed the Holy Roman Emperor Frederick II a peaceful handover of Jerusalem (in 1229) as part of a truce - though only temporarily. The city returned to Muslim control a few years later. Despite some setbacks, the Ayyubids preserved most of the gains Salahuddin had made. They understood that peace, when just, is better than prolonged war, echoing the Quran's encouragement of reconciliation when possible (Quran 8:61).

  • Protection of the Two Holy Cities: The Ayyubids extended their care to Makkah and Madinah, the heartlands of Islam. They took responsibility for the safety of the Hajj routes and the well-being of the holy cities, which had nominally been under the distant Abbasid caliph. Ayyubid sultans sent funds and gifts to support the inhabitants of the holy cities and maintain the holy mosques. This reflects the amanah (trust) of leadership in Islam - to protect the faith's sanctuaries. The Prophet Muhammad (ﷺ) said: "Each of you is a shepherd and each of you is responsible for his flock. The leader is a shepherd over his people..." (Sahih al-Bukhari). The Ayyubids took this responsibility seriously.

  • Patronage of Knowledge and Culture: The Ayyubid era was marked by a flowering of learning. They sponsored scholars of Quran and Hadith, jurists, poets, scientists, and doctors. Damascus and Cairo became thriving centers of scholarship. Notably, the great scholar Al-Nawawi (author of Riyadh as-Salihin and 40 Hadith, a Shafi'i jurist) lived during Ayyubid times in Syria. Also, Ibn Jubayr, a famous traveler, visited Saladin's Cairo and marveled at the orderly piety he saw. The Ayyubids built hospitals, improved infrastructure, and encouraged trade. Cairo's famed Citadel was built by Salahuddin, and it remains an architectural marvel. These contributions show how Islamic governance isn't only about warfare - it's about building a just civilization. The Quran praises establishing prayer, giving charity, and "enjoining good and forbidding wrong" - the Ayyubids saw their rule as enjoining good in society.

  • Justice and Prosperity: By adhering to Shariah (Islamic law), Ayyubid rulers aimed to be just. Courts were set up with qualified judges from different madhhabs, ensuring people's disputes were resolved fairly. There are accounts of Salahuddin's just rule - for instance, he appointed qadis (judges) known for honesty. His chief judge in Egypt, Qadi al-Fadil, was renowned for integrity. When the rulers were just, the people prospered and trusted their leaders. Trade between the Middle East, Africa, and Asia flourished under the stability the Ayyubids provided.

The Ayyubid dynasty's influence eventually waned by the mid-13th century due to internal rivalries. The last Ayyubid king in Egypt, al-Malik al-Salih (son of Al-Kamil), died in 1249 during a Crusader invasion (the Seventh Crusade led by Louis IX of France). In a surprising turn, power in Egypt passed to the very soldiers who had been the backbone of Ayyubid military strength, the Mamluks. While the Ayyubid era came to an end, it set the stage for the Mamluk era, which would achieve even greater fame in defending Islam. The Ayyubids had revived the spirit of jihad and unity, and the Mamluks would carry it forward. As one era transitioned to the next, Muslims were reminded that the struggle in Allah's cause continues, and Allah may replace one group with another better suited for the task (Quran 47:38). Indeed, the mantle of leadership passed to the Mamluks by the will of Allah.

The Mamluk Era: Defenders of Islam

Who Were the Mamluks? From Slave Soldiers to Sultans

In 1250, a new dynasty took charge in Egypt, the Mamluks. The word Mamluk (Arabic: mamluk, مملوك) literally means "one who is owned," i.e., a slave. Paradoxically, these "slave-soldiers" became kings! How did this happen?

The practice of using Mamluks began earlier: the Ayyubids (and earlier Abbasids) often purchased young slaves, typically of Turkic or Caucasian origin, to train as elite soldiers. These youths converted to Islam, learned Arabic, and were educated in military arts and religion. They weren't slaves in the common sense by the time they were soldiers, they became a professional warrior class, loyal to their masters. Over time, they earned status and trust. Under al-Malik al-Salih Ayyub, the Mamluks in Egypt grew very influential. When he died and the Crusaders attacked, the Mamluk generals in his army stepped up to defend the realm, since the Ayyubid royal family was in disarray.

In the year 1250, led by commanders like Aybak and Baybars, the Mamluk forces repelled the Seventh Crusade, capturing King Louis IX of France. Shortly after, the Mamluks seized power in Egypt itself. They supported al-Salih's widow, Shajar al-Durr, to briefly become Sultana, then she married the Mamluk leader Aybak, effectively passing rule to him. Thus the Ayyubid dynasty ended, and the Mamluk Sultanate was born. Although these events involved court intrigue, many Muslims saw it as a necessary change. The hadith states: "Whoever is killed while protecting his property then he is a martyr." (Sahih al-Bukhari). The Mamluks had fought to protect the Muslim lands like their own property, and many had died as martyrs in that struggle. This sacrifice gave them legitimacy in the eyes of the people.

The Mamluk Sultanate (1250-1517) would rule over Egypt, Syria, Hijaz (including Makkah and Madinah), and the surrounding regions. Remarkably, these sultans had been born outside of power, even outside of freedom. Many were of Turkish, Tatar, or Circassian origin, brought from places like the Eurasian steppes or the Caucasus. But Islam erases ethnic and class barriers, a core Quranic teaching is that the most honored in the sight of Allah is the most righteous, not the highest born (Quran 49:13). The rise of the Mamluks exemplified this Islamic ideal. Former slaves could become rulers if they possessed the qualities of leadership, courage, and piety. In the Mamluk era, a slave's son did not inherit the throne; instead, leadership often went to another capable Mamluk. In fact, the Mamluk system was merit-based in a unique way: new talented individuals could rise to the top through loyalty and skill, regardless of lineage . Many sultans started as ordinary soldiers. This prevented the stagnation seen in some royal dynasties and brought a constant infusion of vigor into leadership.

The Mamluk rulers took on honorific names linking them to Islam, much like the Ayyubids did. Names like Rukn al-Din Baybars ("Pillar of the Faith, Baybars") and Saif al-Din Qutuz ("Sword of the Faith, Qutuz") show how they identified with the religion. They viewed themselves as guardians of Islam, not mere kings. They even revived the Abbasid caliphate in a symbolic form: in 1261, after the Mongols had killed the Abbasid Caliph in Baghdad, the Mamluks invited a surviving Abbasid prince to Cairo and installed him as a ceremonial Caliph. Although this Caliph in Cairo had no real power, he gave religious legitimacy to the Mamluk sultans. It was the Mamluks' way of saying: "We uphold the banner of Islam and its unity."

Within their realm, the Mamluks continued the Sunni tradition of the previous era. They patronized all four Sunni madhhabs. In major cities like Cairo and Damascus, they appointed four chief judges, one from each school (Hanafi, Maliki, Shafi'i, Hanbali), to ensure each community had access to legal guidance . This policy prevented sectarian conflicts and honored the diversity of Sunni jurisprudence. Regular councils of scholars were held, and sultans often took the advice of esteemed ulama (scholars) on governance and jihad. One legendary scholar, Sultan al-'Ulama Izz al-Din ibn Abd al-Salam, actually admonished the early Mamluk leadership about justice and even sold some corrupt emirs in a marketplace saying "these men were bought with the public treasury, so I auction them off!", a story that highlights the era's bold interplay of scholars and rulers upholding accountability.

Victories and Contributions of the Mamluk Sultanate

The Mamluk era is best known for its military victories that saved the Muslim world. Two enormous threats loomed when the Mamluks took power: the remaining Crusader strongholds on the Mediterranean coast, and the Mongol horde sweeping in from the East. By Allah's grace, the Mamluks vanquished both threats.

Defeat of the Mongols, A Turning Point in History

The Mongols had been undefeated in open battle across Asia, until they met the Mamluks. In 1260, Mongol forces under Hulagu Khan (grandson of Genghis Khan) had captured Damascus and approached Palestine. Most thought Egypt would be next, which would open the way to Makkah and Madinah. The situation was dire; many Muslims feared that the Mongols might extinguish Islamic civilization entirely. But the new Sultan, Saif al-Din Qutuz, a brave Mamluk leader, refused to surrender. He famously said, *"Wa Islamah!"* ("Oh my Islam!"), expressing that the cause was to save Islam itself. Qutuz executed Mongol envoys who came with threats, as a message that Muslims would not be intimidated. Then he gathered a Mamluk army and marched out of Egypt to face the Mongols, rather than waiting for destruction to come. This was in Ramadan 658 AH (1260 CE). The Muslim soldiers were fasting, yet spiritually energized. At a place in Palestine called Ayn Jalut ("Spring of Goliath"), the two armies clashed in a monumental battle.

During the fierce fighting at Ayn Jalut, the Mamluks initially used tactics to lure the Mongols into an ambush. But at one point, the Mongol charge nearly broke the Muslim ranks. At that critical moment, Qutuz took off his helmet so his men could recognize him and shouted "Wa Islamah!" repeatedly, rallying the troops to remember what they were fighting for. This cry ("O Islam!") echoed the sentiment that this battle was for the survival of Islam. The soldiers, despite hunger and exhaustion, gained new courage and fought back ferociously. The Mongol general Kitbuqa was killed on the battlefield. With that, Mongol morale collapsed and they began to retreat. The seemingly invincible Mongol army was routed. The Battle of Ayn Jalut was the first major defeat of the Mongols in the Middle East, and it marked a turning point in world history. Muslims celebrated this as nothing short of a miracle. Many likened it to the Battle of Badr in early Islamic history, a small force of believers defeating a far larger enemy by Allah's help. In fact, Quranic verses about Badr were recited in mosques in gratitude:

"And surely Allah supported you at Badr when you were few in number. So be mindful of Allah that you may be grateful." (Quran 3:123)

The victory at Ayn Jalut saved the heartlands of Islam, Cairo, Makkah, Madinah, and further beyond were all spared from Mongol destruction. Had the Mamluks lost, the Mongols would likely have marched through Egypt and perhaps reached the holy cities. The entire course of Muslim civilization might have been different. Instead, the Mongol advance was stopped for good. Over the next few decades, the Mamluks and Mongols fought several more times, with the Mamluks often coming out on top. Not only did the Mamluks defend existing lands, but they also recaptured places the Mongols had seized, like Damascus. SubhanAllah (glory be to God), in an amazing twist, within two generations many of the Mongols themselves converted to Islam. The Ilkhanid Mongol ruler of Persia, Ghazan, embraced Islam in 1295, and the Golden Horde Mongols in Russia had converted even earlier. The faith that the Mongols tried to destroy ended up conquering their hearts. This shows the power of Islam's truth, it transformed former enemies into brothers in faith. One could argue this is a miracle in its own right. As the Quran states, truth will prevail over falsehood:

"And say: Truth has come, and falsehood has vanished. Surely falsehood is bound to vanish." (Quran 17:81)

The Mamluk victories were seen as a sign that Allah's support was with those who stood firm for justice. A hadith of Prophet Muhammad (ﷺ) comes to mind: "A group of my Ummah will continue to fight for the command of Allah, dominating their enemies. They will not be harmed by those who oppose them, until the Hour comes while they are upon that." (Sahih Muslim). Many Muslims of that era thought of the Mamluks as that victorious group, steadfast on truth and protecting the Ummah.

Elimination of the Crusader States

After dealing with the Mongols, the Mamluks focused on the lingering Crusader-held cities along the Syrian-Palestinian coast. Unlike earlier Muslim leaders who sometimes made truces, the Mamluk sultans (especially Sultan Baybars and later Sultan Qalawun and Sultan Khalil) decided it was time to end the Crusader presence for good. Sultan Baybars (reign 1260-1277), a brilliant general who had also fought at Ayn Jalut, captured key strongholds like Caesarea, Antioch, and Krak des Chevaliers. His strategy was to attack swiftly and strike fear into the Crusaders. Baybars was also just, he would often allow surrender terms, but he was determined not to leave any base for European powers to launch new crusades. In 1291, Sultan Al-Ashraf Khalil (son of Qalawun) conquered Acre (Akka), which was the last major Crusader fortress. With Acre's fall, the era of the Crusades in the Holy Land effectively ended. For the first time in nearly 200 years, the entire region was back under Muslim control. The liberation of every inch of the Levantine coast was a moment of great pride for the Muslim world. The Mamluks had finished what Salahuddin started, and they did so in the spirit of Islam. They too generally spared civilians and let defeated foes flee by sea. The Crusaders, having been driven out, never returned in the same way, this chapter was closed.

  • Protection of the Muslim Heartland: With both Crusaders and Mongols checked, the Mamluk Sultanate became the strongest power in the Muslim world during the 13th-15th centuries. They took on the duty of protecting the Two Holy Mosques (Haramain) in Makkah and Madinah. Every year, the Mamluk Sultan sent a grand Hajj caravan with gifts and a new kiswa (covering) for the Kaaba. They erected milestones and forts along the pilgrimage routes for safety. In this way, they fulfilled the Quranic injunction to ensure security for those coming to worship Allah's House (as referenced in Quran 106:3-4). The Abbasid Caliph in Cairo would symbolically confirm each new sultan, which kept a thread of continuity in Muslim leadership after the trauma of Baghdad's fall.

  • Robust Governance and Society: Internally, the Mamluks administered a prosperous state. Cairo became fabled for its wealth and grandeur, reputed as the largest city in the Mediterranean world at that time. The Mamluk economy benefited from international trade. They controlled the spice trade routes from India and lands beyond, through the Red Sea and Egypt, into Europe. The sultans accumulated wealth but also invested in endowments (waqf) for public good. They built free schools, lodges for traveling scholars, hospitals, and public fountains. The idea in Islam is that the wealth one spends in the path of Allah continues to reward one's soul (a sadaqah jariyah, ongoing charity). Mamluk elites took this seriously.

  • Splendid Architecture: The Mamluk era is renowned for its architectural legacy, especially in Cairo and Damascus. They built exquisite mosques, madrasas, and khanqahs (centers for spiritual retreat). Mamluk architecture is characterized by intricate stone carving, soaring minarets, and elegant domes. For example, the Mosque-Madrasa of Sultan Hasan in Cairo (built in the 14th century) is an architectural masterpiece that still amazes visitors. It includes schools for each of the four madhhabs in one complex, symbolizing the unity of Sunni jurisprudence. The Mamluk sultans often vied with each other in constructing the most beautiful public buildings as a way of earning good repute and blessings. Even today, Cairo's historic skyline - crowded with Mamluk-era minarets - stands as a reminder of this golden age of art and devotion. Decorated Qurans, calligraphy, glass lamps, and metalwork from the Mamluk period are treasured in museums around the world, showing the cultural heights achieved.

  • Support for Scholarship: Just as with the Ayyubids, the Mamluks greatly supported Islamic scholarship. In fact, some of the most celebrated Sunni scholars lived under Mamluk patronage. Madrasa colleges were everywhere. Scholars such as Ibn Taymiyyah, Ibn Kathir, Al-Dhahabi, Ibn al-Nafis, and Ibn Hajar al-Asqalani flourished during this period. For instance, Ibn Nafis, a 13th-century physician in Damascus, discovered the pulmonary circulation of blood centuries before Europeans - a testament to the scientific activity of the time. The famous historian Ibn Khaldun moved to Cairo in the 14th century and worked under Mamluk auspices; he wrote his Muqaddimah (Introduction to History) then, laying foundations for sociology and historiography. The Mamluk rulers often invited scholars to advise them or even join the government in roles like judges, administrators, or teachers. The four madhhab legal system meant scholars of different schools cooperated and learned from each other. This rich scholarly environment helped preserve and expand Islamic knowledge. The hadith says, "Whoever travels a path in search of knowledge, Allah will make easy for him a path to Paradise." (Sahih Muslim). The Mamluks as a society facilitated many on such paths, by making knowledge pursuit easier with stipends and endowments.

  • Justice and Social Welfare: A hallmark of the Mamluk administrative system was the use of Sharia courts and the principle that even the Sultan must obey the law. There are recorded incidents of Mamluk sultans being rebuked by scholars for any injustice. When Sultan Baybars once enacted a tax to pay for jihad, scholars demanded he cancel it when the emergency passed, as extra taxes are not allowed in Sharia without need. Amazingly, Baybars complied, showing his respect for Islamic law . This kind of accountability was rare in medieval governance elsewhere. Mamluk cities had extensive waqf charitable networks - orphanages, bread for the poor, care for widows - reflecting the Islamic emphasis on caring for the less fortunate. The Prophet (ﷺ) said: "Whoever relieves the distress of a believer in this world, Allah will relieve his distress on the Day of Judgment." (Sahih Muslim). The Mamluk society honored this teaching through social services.

In summary, the Mamluk era was one of resilience and renewal. They not only defended the Muslim world militarily but also cultivated a thriving civilization grounded in Islamic values. Under their watch, the central lands of Islam were safe, knowledge bloomed, and justice was upheld (to the human best of ability). The Mamluk sultans carried an immense responsibility and, by and large, fulfilled it in line with the Quran and Sunnah. They had their internal struggles and were not perfect, of course, palace intrigues and politics were ever-present. But remarkably, even those power struggles often ended with the most competent leader emerging, due to the unique meritocratic nature of their system . This kept the state strong until new factors arose. By the early 1500s, the Mamluks faced new challenges: the rise of the Ottoman Turks (a Muslim but rival power) and the discovery of new sea trade routes by the Portuguese which affected their economy. In 1517, the Ottoman Sultan Selim I defeated the last Mamluk Sultan in battle, bringing an end to the Mamluk Sultanate. Yet, the Ottomans deeply respected the legacy of the Ayyubids and Mamluks, and they continued many of their practices (even employing Mamluk elites in local governance).

The Ayyubid and Mamluk eras together span roughly 350 years of history. Through all the ups and downs, one thing is clear: Islam was their guiding light. The piety of Salahuddin, the resolve of Qutuz, the knowledge patronage of Baybars, and the justice of their courts all were reflections of Islamic teachings. It's little wonder that Muslims today look back at those times with admiration and pride. These eras demonstrated what can be achieved when leaders and people alike hold firmly to the rope of Allah (Quran 3:103) and work together.

Quranic Guidance on Struggle, Unity, and Justice

The Quran was the bedrock of inspiration for the Ayyubid and Mamluk heroes. Many verses of the Quran relate directly to fighting oppression, staying unified, and trusting in Allah's help, themes lived out in these eras. Here are some powerful Quranic verses that illuminate these principles:

"Permission [to fight] has been given to those who are being fought, because they were wronged. And indeed, Allah is Most Powerful to help them. [They are] those who have been evicted from their homes without right - only because they say, 'Our Lord is Allah.' ... And were it not that Allah checks the people, some by means of others, there would have been demolished monasteries, churches, synagogues, and mosques in which the name of Allah is much mentioned. And Allah will surely support those who support Him. Indeed, Allah is All-Powerful, Almighty." (Quran 22:39-40). [These verses granted Muslims permission to fight back against injustice and oppression. They remind us that fighting is sometimes necessary to protect all places of worship and that Allah helps those who stand for His cause.]

"O you who believe! If you support (the cause of) Allah, He will support you and plant your feet firmly." (Quran 47:7) *[This verse would have given heart to Muslim fighters like at Hattin or Ayn Jalut - the promise that Allah will make them stand firm if they are fighting for His sake.