Abū Ayyūb Khālid ibn Zayd al-Anṣārī was a Companion from Banū al-Najjār of the Khazraj and one of the early Medinan supporters of Prophet Muhammad ﷺ. He attended the Second Pledge of al-ʿAqaba and became famous for hosting Prophet Muhammad ﷺ in his home after the Hijra while the mosque and adjoining rooms were being established. Canonical hadith preserves the Prophet’s arrival in the courtyard of Abū Ayyūb’s house, details of the household’s hospitality, and many legal and devotional reports transmitted by him. He participated in Badr and the later major campaigns, remained active in military expeditions into old age, and was associated with Syria, Egypt and the Byzantine frontier. Jāmiʿ al-Tirmidhī preserves his explanation of Qur’an 2:195 during a campaign in Byzantine territory. The preferred specialist chronology places his death during the Constantinople campaign in 49 AH / 669 CE, while later dates including 50, 52 and 55 AH are also transmitted. He was buried near the walls of Constantinople, and his tomb tradition later became central to the Eyüp district of Istanbul.
Names and variants
Abū Ayyūb al-Anṣārī· canonicalAbū Ayyūb al-Anṣārī· canonicalأبو أيوب الأنصاري· canonicalAbū Ayyūb· kunyaأبو أيوب· kunyaKhālid ibn Zayd ibn Kulayb· birth nameخالد بن زيد بن كليب· birth nameKhālid ibn Zayd ibn Kulayb ibn Thaʿlaba· variantخالد بن زيد بن كليب بن ثعلبة· variantal-Anṣārī· nisbaالأنصاري· nisbaal-Khazrajī· nisbaالخزرجي· nisbaal-Najjārī· nisbaالنجاري· nisbaAbu Ayyub al-Ansari· transliterationAbou Ayyoub al-Ansari· transliterationEbû Eyyûb el-Ensârî· transliteration
Abū Ayyūb al-Anṣārī
Abū Ayyūb Khālid ibn Zayd was a Khazrajī Anṣārī Companion whose biography joins the Medinan Hijra story, the household of Prophet Muhammad ﷺ, the major campaigns of the Prophetic period, legal and devotional hadith transmission, and the later Byzantine frontier.
His personal name was Khālid ibn Zayd ibn Kulayb, while Abū Ayyūb became the kunya by which he was overwhelmingly known. Classical sources extend his lineage further and consistently identify him as an Anṣārī.
Abū Ayyūb belonged to Banū al-Najjār, a branch of al-Khazraj in Medina. This lineage placed his household within the same Medinan network that welcomed Prophet Muhammad ﷺ after the Hijra.
Specialist biography names his father as Zayd ibn Kulayb and his mother as Hind, also transmitted as Zahrāʾ, bint Saʿd ibn Qays. These details belong to the genealogical biographical tradition rather than to canonical hadith.
His wife is remembered by the kunya Umm Ayyūb. Canonical and strong hadith material connected with the Prophet’s stay preserves her participation in the household that hosted him and prepared food for him.
Specialist biography reports that Abū Ayyūb and Umm Ayyūb embraced Islam before the Hijra, roughly two years before Prophet Muhammad ﷺ reached Medina. This made them part of the early Anṣārī support base.
Classical and specialist biographies include Abū Ayyūb among the Medinans who attended the Second Pledge of al-ʿAqaba in 622, the agreement that preceded the Hijra and committed the Anṣār to protect Prophet Muhammad ﷺ.
Abū Ayyūb’s importance did not begin only when he opened his home after the Hijra. His reported participation at al-ʿAqaba places him among those who had already committed themselves to supporting the new Muslim community.
Sahih al-Bukhari and Sahih Muslim preserve Anas ibn Mālik’s account of Prophet Muhammad ﷺ entering Medina after a stay among Banū ʿAmr ibn ʿAwf and then moving toward Banū al-Najjār.
Canonical reports state that Prophet Muhammad ﷺ finally dismounted in the courtyard of Abū Ayyūb’s house. This event is one of the most securely attested elements of Abū Ayyūb’s biography.
Abū Ayyūb’s household hosted Prophet Muhammad ﷺ during the first months of the Medinan period while the mosque and adjoining residential rooms were being established. Specialist biography gives the duration as about seven months.
Sahih Muslim preserves the household’s discomfort at living above Prophet Muhammad ﷺ while he occupied the lower floor. Abū Ayyūb asked to exchange floors, and the Prophet eventually moved upstairs while the family moved below.
The same canonical report describes Abū Ayyūb preparing food for Prophet Muhammad ﷺ and paying close attention to the part of the dish from which he had eaten. The episode illustrates the intimacy and reverence of the hosting relationship.
Tirmidhī preserves a report that food containing garlic was returned uneaten while Prophet Muhammad ﷺ stayed with Abū Ayyūb. The Prophet clarified that garlic was not forbidden but that he disliked its odor because of his special circumstances.
Bukhari and Muslim connect the Prophet’s stay at Abū Ayyūb’s house with the acquisition and preparation of the site of the Medinan mosque. The household therefore stood at the center of the community’s first institutional settlement.
Specialist and classical biographies report that Prophet Muhammad ﷺ paired Abū Ayyūb with Musʿab ibn ʿUmayr in the bond of brotherhood between Anṣār and Emigrants. The report is biographical rather than a canonical-hadith episode.
Classical sources count Abū Ayyūb among the participants at Badr. This campaign marked the beginning of a military record that later biographers describe as continuing through nearly all the major campaigns of Prophet Muhammad ﷺ.
Abū Ayyūb is likewise listed among those present at Uḥud. Later biographical memory emphasizes his continued closeness to Prophet Muhammad ﷺ during the difficult Medinan campaigns.
Biographical sources include Abū Ayyūb among the participants in the Battle of the Trench. His record forms part of the broader Anṣārī defense of Medina.
Abū Ayyūb is also associated with the campaign of Khaybar. Later biographies describe him as remaining close to Prophet Muhammad ﷺ and, on some nights, keeping watch near his camp.
Specialist biography includes Abū Ayyūb among those who participated in the conquest of Mecca and the campaign of Ḥunayn. These later expeditions confirm the long duration of his Prophetic-era military service.
Classical biography reports that Abū Ayyūb sometimes remained near the tent of Prophet Muhammad ﷺ at night out of concern for his safety. These details belong to biographical transmission rather than to the strongest canonical material.
Specialist biography counts Abū Ayyūb among the scribes associated with Prophet Muhammad ﷺ and with the preservation of revealed material. Modern studies of the Prophetic scribes also include him, but this role is less directly documented than his hosting and hadith transmission.
Abū Ayyūb became known among the Companions for religious knowledge and legal guidance. His canonical reports later entered discussions of purity, prayer, fasting, pilgrimage, social conduct and family relations.
Bukhari, Muslim, Abū Dāwūd and Tirmidhī preserve Abū Ayyūb’s report that Prophet Muhammad ﷺ prohibited facing or turning one’s back to the qibla while relieving oneself in open space.
Sources: [1] Biographical/classical account, [2] Biographical/classical account, [3] Biographical/classical account, [4] Biographical/classical account, [5] Biographical/classical account, [7] Biographical/classical account, [8] Biographical/classical account, [9] Biographical/classical account, [11] Do not face or turn back to qibla while relieving oneself, [12] Parallel Bukhari route, [18] Parallel Muslim route, [26] Parallel strong route, [31] Parallel strong route
Applying the qibla ruling in Syria
Abū Ayyūb added that when the Muslims reached Syria they found built latrines oriented toward the qibla. He said they turned themselves away as much as possible and sought Allah’s forgiveness.
Bukhari and Abū Dāwūd preserve a legal inquiry in which Ibn ʿAbbās sent someone to Abū Ayyūb to ask how Prophet Muhammad ﷺ washed his head while in ihram. Abū Ayyūb demonstrated the action he had personally witnessed.
Sahih al-Bukhari transmits Abū Ayyūb’s testimony that Prophet Muhammad ﷺ combined Maghrib and ʿIshāʾ at Muzdalifa. This became part of the canonical legal evidence for pilgrimage practice.
Sahih Muslim and Sunan Abī Dāwūd preserve through Abū Ayyūb the well-known report that fasting Ramadan and then six days of Shawwāl is like perpetual fasting.
Sources: [1] Biographical/classical account, [2] Biographical/classical account, [3] Biographical/classical account, [4] Biographical/classical account, [5] Biographical/classical account, [7] Biographical/classical account, [8] Biographical/classical account, [9] Biographical/classical account, [30] Six days of Shawwāl after Ramadan, [33] Parallel strong route
Do not shun a Muslim beyond three days
Sahih Muslim, Abū Dāwūd and Tirmidhī preserve Abū Ayyūb’s report that Muslims should not remain estranged from one another for more than three nights and that the better person is the one who initiates the greeting.
Sahih al-Bukhari preserves Abū Ayyūb’s report of a man asking Prophet Muhammad ﷺ for a deed that would lead to Paradise. The answer combines worship of Allah alone, prayer, zakat and maintaining kinship ties.
Jāmiʿ al-Tirmidhī preserves a hasan report in which Abū Ayyūb repeatedly catches a mysterious thief taking dates from his store. The visitor eventually tells him to recite Āyat al-Kursī for protection, and Prophet Muhammad ﷺ confirms the statement while describing the speaker as habitually untruthful.
Tirmidhī preserves a sahih report in which Abū Ayyūb explains the context of Qur’an 2:195 during a campaign in Byzantine territory. He rejected the interpretation that a fighter’s bold charge automatically meant throwing oneself into destruction.
According to the report, the verse addressed Anṣār who considered withdrawing from continued sacrifice in order to repair neglected property after Islam had become strong. Abū Ayyūb understood the danger as abandoning religious striving for private wealth.
Classical and specialist histories state that Abū Ayyūb continued military service after the death of Prophet Muhammad ﷺ, taking part in campaigns under Abū Bakr and ʿUmar.
Specialist biography associates Abū Ayyūb with the Syrian, Palestinian and Egyptian campaigns of the early caliphate. Canonical hadith independently confirms that he later traveled in Syria.
Historical sources report that Abū Ayyūb participated in the Muslim expedition to Cyprus in 28 AH / 648–649 CE. This belongs to the conquest-historical record rather than the canonical hadith corpus.
Specialist biography reports that when ʿUthmān was prevented from leading public prayer during the siege of his house in 35 AH / 656 CE, Abū Ayyūb led prayer for a period, reportedly on the advice of ʿAlī.
Historical-biographical sources state that when ʿAlī left Medina for Iraq, he left Abū Ayyūb as a deputy in the city. This administrative role belongs to the political history of the first civil war.
Specialist biography reports that Abū Ayyūb later fought on ʿAlī’s side against the Khārijites and Muʿāwiya’s forces. These events are historically transmitted but are less securely documented than his Prophetic-era biography.
Later biographical sources emphasize Abū Ayyūb’s caution in transmitting hadith. Despite his long companionship, the traditional corpus attributed to him is modest relative to more prolific narrators.
A famous biographical report states that Abū Ayyūb traveled from Medina to Egypt to hear directly from ʿUqba ibn ʿĀmir a hadith he himself did not know. The episode became a model of early scholarly travel for hadith verification.
Biographical sources list both Companions and Tābiʿūn among those who transmitted from Abū Ayyūb, including Ibn ʿAbbās, Ibn ʿUmar, Anas ibn Mālik and later Medinan scholars.
Abū Ayyūb’s later biography is marked by repeated military expeditions even in advanced age. His own explanation of Qur’an 2:195 helps explain the religious reasoning he gave for continuing active service.
Tirmidhī’s report places Abū Ayyūb with a Muslim army in Byzantine territory. Historical sources further associate his final years with repeated expeditions toward Constantinople.
The dominant specialist account places Abū Ayyūb in an early Muslim campaign against Constantinople in the late 40s AH. Reports differ on the precise expedition and year, so the broad campaign setting is firmer than every chronological detail.
Sources: [1] Biographical/classical account, [2] Biographical/classical account, [3] Biographical/classical account, [4] Biographical/classical account, [5] Biographical/classical account, [7] Biographical/classical account, [8] Biographical/classical account, [9] Biographical/classical account, [10] Conquest and frontier history, [23] Continued frontier campaigning until burial in Roman territory
Explaining Qur’an 2:195 on campaign
The Tirmidhī report is particularly valuable because Abū Ayyūb gives his interpretation of Qur’an 2:195 while himself still participating in the Byzantine campaign. The report explicitly says he continued such expeditions until he was buried in Roman territory.
Historical and specialist sources state that Abū Ayyūb became seriously ill during the Constantinople campaign. His death therefore occurred not in Medina but on the Byzantine frontier.
Classical reports say that when death approached, Abū Ayyūb asked the army to carry his body as far forward as possible into enemy territory and bury him there. The wording varies, but the core request is widely transmitted.
Major biographical sources place his burial near the walls of Constantinople. The precise seventh-century grave fabric cannot be archaeologically demonstrated from the literary tradition alone, but the location memory is old.
The preferred specialist chronology gives 49 AH / 669 CE, while classical reports also transmit 50, 52 and 55 AH. The disagreement should remain visible rather than forcing a single uncontested date.
Medieval sources record knowledge and visitation of a grave attributed to Abū Ayyūb near Constantinople centuries before the Ottoman conquest. This shows that the burial tradition did not originate only in the fifteenth century.
After the Ottoman conquest of Constantinople, Ottoman tradition connected the identification of the grave site with Akşemseddin. A mosque and mausoleum complex developed around the site and became a major religious and dynastic location.
In Turkish Muslim memory Abū Ayyūb became widely known as Eyüp Sultan. This is a later honorific and cultural title, not his original Arabic name or kunya.
Specialist biography gives a traditional total of about 150 hadith reports attributed to Abū Ayyūb. The figure is a cataloguing count and does not imply identical authenticity for every transmission.
Abū Ayyūb’s biography is unusually broad: the host of Prophet Muhammad ﷺ after the Hijra, a veteran of the major Medinan campaigns, a transmitter of influential legal and devotional reports, and an elderly participant on the Byzantine frontier. Canonical hadith strongly anchors his hosting and teachings, while later political and death chronology details require more explicit qualification.
Sahih al-Bukhari and Sahih Muslim establish that Prophet Muhammad ﷺ dismounted in the courtyard of Abū Ayyūb’s home after arriving in Medina and lodged in his household.
Specialist biography gives approximately seven months for the stay of Prophet Muhammad ﷺ in Abū Ayyūb’s house while the mosque and adjoining rooms were established.
Classical and specialist sources report that Prophet Muhammad ﷺ established a bond of brotherhood between Abū Ayyūb and Musʿab ibn ʿUmayr after the Hijra.
Bukhari, Muslim, Abū Dāwūd and Tirmidhī establish through Abū Ayyūb the prohibition on facing or turning one’s back to the qibla while relieving oneself in open space.
Sahih Muslim and Sunan Abī Dāwūd establish through Abū Ayyūb the report that fasting Ramadan followed by six days of Shawwāl is like perpetual fasting.
Sahih Muslim, Abū Dāwūd and Tirmidhī establish through Abū Ayyūb that Muslims should not remain estranged for more than three nights and that the better person initiates the greeting.
A sahih Tirmidhī report preserves Abū Ayyūb explaining Qur’an 2:195 during a Byzantine campaign as a warning against abandoning religious striving in order to restore private property.
Specialist biography and studies of Prophetic scribes report Abū Ayyūb among the scribes associated with Prophet Muhammad ﷺ, although this role is less directly documented than his hosting and hadith transmission.
Specialist biography reports that Abū Ayyūb led public prayer for a period when ʿUthmān was prevented from doing so during the siege of his house in 35 AH / 656 CE.
Specialist biography reports that Abū Ayyūb later fought on ʿAlī’s side against Khārijite and Muʿāwiya-aligned forces; this belongs to historical rather than canonical-hadith transmission.
Biographical sources report that Abū Ayyūb traveled from Medina to Egypt to hear directly from ʿUqba ibn ʿĀmir a hadith he did not know, an early model of scholarly travel for verification.
Jāmiʿ al-Tirmidhī 2972, graded sahih by Darussalam, places Abū Ayyūb in a Muslim army in Byzantine territory and states that he continued such expeditions until he was buried there.
The preferred specialist chronology places Abū Ayyūb’s death during the Constantinople campaign in 49 AH / 669 CE, while classical reports also transmit 50, 52 and 55 AH.
Classical and specialist sources report that Abū Ayyūb asked to be carried forward after death and was buried near the walls of Constantinople; medieval visitation reports show that this grave tradition predates the Ottoman conquest.
Bukhari and Muslim securely preserve the arrival of Prophet Muhammad ﷺ in the courtyard of Abū Ayyūb’s home and his lodging with the household. This made Abū Ayyūb one of the central figures in the social history of the Hijra.
social · established
A major transmitter of devotional and legal practice
Abū Ayyūb transmitted influential canonical reports on the qibla, pilgrimage, six days of Shawwāl, social reconciliation and acts leading to Paradise. His reports became part of later legal and devotional practice.
religious · established
An early model of hadith verification
Biographical tradition remembers Abū Ayyūb traveling from Medina to Egypt for a single hadith from ʿUqba ibn ʿĀmir. Together with later scholars consulting him directly on Prophetic practice, the episode made him an early model of careful hadith verification.
scholarly · established
Long public service from Medina to the early caliphate
Historical sources associate Abū Ayyūb with the major Prophetic campaigns, later conquests, a temporary prayer-leadership role during the crisis of ʿUthmān and service in Medina under ʿAlī. These later political details are historical reports rather than canonical hadith.
institutional · reported
A canonical interpretation of Qur’an 2:195 on the Byzantine frontier
Tirmidhī preserves Abū Ayyūb’s explanation that “throwing yourselves into destruction” referred to Anṣār considering withdrawal from religious striving to restore their property. The report links Qur’anic interpretation directly to his continued frontier service in old age.
religious · established
Sources
[1]
Siyar aʿlām al-nubalāʾ
al-Dhahabī · Classical biographical source
[2]
Al-Iṣāba fī tamyīz al-ṣaḥāba
Ibn Hajar al-ʿAsqalānī · Classical companion biographical source
[3]
Usd al-ghāba fī maʿrifat al-ṣaḥāba
Ibn al-Athir · Classical companion biographical source
[4]
al-Istīʿāb fī maʿrifat al-aṣḥāb
Ibn ʿAbd al-Barr · Classical biographical source
[5]
al-Ṭabaqāt al-kubrā
Ibn Saʿd · Classical biographical source
[6]
Kuttāb al-Nabī
M. Muṣṭafā al-Aʿẓamī · Modern study of Prophetic scribes · 1981