Abu Ayyub al-Ansari

Abu Ayyub al-Ansari

Companion of Muhammad and Medinan host
Country: Rashidun Caliphate, Umayyad Caliphate
  1. A Medinan host
  2. Companion and standard-bearer
  3. The Constantinople campaign
  4. A lasting place in Istanbul

Abu Ayyub al-Ansari is remembered as the Medinan host who welcomed the Prophet Muhammad after the Hijra, the migration from Mecca to Medina. A member of the Ansar, the community that supported Muhammad in his new home, he became one of the best-known Companions of the Prophet. His name is also tied to a later campaign against Constantinople and to a revered tomb that became a major center of religious life in Ottoman Istanbul.

A Medinan host

Abu Ayyub’s personal name was Khalid ibn Zayd, and he belonged to the Banu Najjar clan of Medina. He was among the early supporters of Islam in the city. When Muhammad arrived in Medina in 622, tradition says that the Prophet stayed in Abu Ayyub’s home until a mosque and adjoining rooms were built.

The account of the lodging became one of the most enduring stories about Abu Ayyub. It highlighted the welcome offered by the Ansar to the emigrants from Mecca and symbolized the bonds that joined the early Muslim community. The name al-Ansari, meaning one of the helpers, reflects this association with Medina’s supporters.

Companion and standard-bearer

Islamic biographical traditions remember Abu Ayyub as a close companion who took part in the community’s formative struggles. He is associated with the early battles fought under Muhammad and, in later accounts, with military campaigns after the Prophet’s death. Some traditions also describe him as a standard-bearer.

He continued to play a role in the early Muslim polity after Muhammad’s death. Sources connect him with the caliphate of Ali and the political conflicts of the period, though accounts of his later public life vary. His legacy is shaped above all by his close relationship to the Prophet and his role in the story of the Hijra.

The Constantinople campaign

Later Muslim accounts say that Abu Ayyub joined an Umayyad expedition against Constantinople in old age and died during the campaign. The date is disputed: reports place his death in different years, and historians also debate the chronology of the early Arab attacks on the Byzantine capital. A widely repeated tradition says he asked to be buried as close as possible to the city walls.

The grave associated with him remained part of the city’s religious memory. After the Ottoman conquest of Constantinople in 1453, the Ottoman scholar Akşemseddin identified the site according to tradition, and Sultan Mehmed II ordered a tomb and mosque complex built there. The district that grew around it became known as Eyüp, after Abu Ayyub.

A lasting place in Istanbul

The Eyüp Sultan Mosque became one of the most venerated sanctuaries of the Ottoman Empire. Ottoman sultans visited it for a ceremonial sword-girding rite associated with their accession, linking Abu Ayyub’s memory to the legitimacy and service of the dynasty. The surrounding complex and cemetery developed into an important religious and social landscape.

Abu Ayyub’s life bridges the first Muslim community in Medina and the later history of Istanbul. The traditions surrounding his hospitality, service, and burial made him a lasting symbol of devotion and welcome, honored by generations of Muslims across the Islamic world.