بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ
Stories of the Sahabah

Abu Ayyub al-Ansari رضي الله عنه

Abu Ayyub al-Ansari رضي الله عنه was the noble host of Prophet Muhammad ﷺ in Madinah, a man of deep adab, practical service, hadith narration, reconciliation, fasting, and lifelong sacrifice until his final campaign near Constantinople.

Host of the Prophet ﷺ From the Ansar Banu al-Najjar
Full name Abu Ayyub Khalid ibn Zayd ibn Kulayb al-Ansari رضي الله عنه
Tribe From the Ansar of Madinah, connected to Banu al-Najjar of al-Khazraj
Known for Hosting Prophet Muhammad ﷺ after the Hijrah and serving Islam from Madinah to the Constantinople campaign
Great honour The Prophet ﷺ stayed in his house when he first arrived in Madinah, as recorded in Sahih Muslim
Hadith narrator He narrated important hadith on tawhid, prayer, zakah, kinship, reconciliation, fasting Shawwal, and manners
Major dates Hijrah: 1 AH / 622 CE; Badr: 2 AH / 624 CE; Khandaq: 5 AH / 627 CE; Constantinople campaign reports: around 50-52 AH
Final years Biographical reports place his return to Allah during the campaign near Constantinople, with reports differing around 50, 51, or 52 AH
Next in sequence After this page: Ubayy ibn Ka‘b رضي الله عنه

His home, adab, hadith, service, final campaign, and dates

This page follows Abu Ayyub رضي الله عنه from the early Madinan support of Islam to hosting the Prophet ﷺ, narrating practical hadith, correcting misunderstandings, and remaining devoted until old age.

Story Step

A noble Ansari from Madinah

Abu Ayyub al-Ansari رضي الله عنه was from the people of Madinah who supported the Messenger of Allah ﷺ. His full name is commonly given in biographical works as Khalid ibn Zayd ibn Kulayb al-Ansari, and he belonged to the Khazraj line connected with Banu al-Najjar.

Story Step

Why his story matters

His biography is loved because Allah honoured his home with the arrival of the Prophet ﷺ. But his story is larger than one beautiful hosting moment. It includes worship, adab, hadith narration, military service, and old-age sacrifice.

Story Step

From the Ansar

The Ansar were the helpers of Madinah who gave shelter, protection, and love to the Prophet ﷺ and the Muhajirun. Abu Ayyub رضي الله عنه stands among those helpers like a lamp near the first doorway of the Madinan Seerah.

Story Step

Connection to Banu al-Najjar

Banu al-Najjar had a special place in the Madinan setting, and the Prophet’s ﷺ arrival among them became one of the unforgettable scenes of the Hijrah. Abu Ayyub’s house was close to the place where the Prophet’s Mosque would be built.

Story Step

The Second Pledge of al-‘Aqabah

Biographical sources mention Abu Ayyub رضي الله عنه among the Madinan believers connected to the pledges before Hijrah. Since this is Seerah and biography material, present it as such and do not make every detail sound like a direct Sahih hadith quote.

Story Step

The Hijrah in 1 AH / 622 CE

When the Prophet ﷺ migrated from Makkah to Madinah, the city became the home of Islam. The Hijrah marks 1 AH / 622 CE and is the first firm date to place in Abu Ayyub’s public story.

Story Step

The camel stops near the future mosque

Seerah reports describe the Prophet’s ﷺ camel stopping at the place where Masjid an-Nabawi would be built. The people longed to host him, but Allah chose the place and then chose the nearby home of Abu Ayyub رضي الله عنه for the Prophet’s ﷺ temporary stay.

Story Step

The host of the Messenger ﷺ

Abu Ayyub رضي الله عنه became known as the host of the Prophet ﷺ. This was not a decorative title. It meant daily service, food, space, respect, and the trembling responsibility of having the Messenger of Allah ﷺ under his roof.

Story Step

Sahih Muslim confirms the house

Sahih Muslim 2053c records that the Messenger of Allah ﷺ alighted in the house of Abu Ayyub al-Ansari رضي الله عنه when he came to Madinah. The report mentions the lower and upper storeys of the house.

Story Step

Concern about walking above the Prophet ﷺ

In the Muslim report, Abu Ayyub رضي الله عنه felt uncomfortable that he and his household were on the upper level while the Prophet ﷺ was below. Out of adab, he asked that they should not be above the roof under which the Messenger ﷺ stayed.

Story Step

The Prophet ﷺ accepted the change

The Prophet ﷺ first mentioned that the lower storey was easier, but Abu Ayyub رضي الله عنه’s reverence was so strong that the Prophet ﷺ shifted to the upper storey while Abu Ayyub رضي الله عنه moved below.

Story Step

Food touched by the Prophet ﷺ

The same hadith shows Abu Ayyub رضي الله عنه preparing food for the Prophet ﷺ. When the food returned, he would ask where the Prophet’s ﷺ fingers had touched and eat from that place. It shows love with manners, not noisy display.

Story Step

The garlic incident

One day the food contained garlic, and the Prophet ﷺ did not eat from it. Abu Ayyub رضي الله عنه became worried and asked whether it was forbidden. The Prophet ﷺ said it was not forbidden, but he did not like it because revelation came to him and angels visited him.

Story Step

Love that follows Prophetic preference

Abu Ayyub رضي الله عنه then disliked what the Prophet ﷺ disliked. This should be written as love and imitation, while keeping the legal ruling clear: the Prophet ﷺ did not declare garlic forbidden in that report.

Story Step

How long the stay lasted

Seerah reports commonly say the Prophet ﷺ stayed in Abu Ayyub’s house until the mosque and his rooms were prepared, often described as several months. Because the exact length comes through Seerah reports, keep the wording cautious.

Story Step

The mosque rises in Madinah

While the Prophet ﷺ was staying in Madinah, the mosque became the heart of the new Muslim community. Abu Ayyub’s hosting belongs to this early moment when a city was being shaped by prayer, brotherhood, learning, and sacrifice.

Story Step

Badr in 2 AH / 624 CE

Badr took place in 2 AH / 624 CE. Biographical works count Abu Ayyub رضي الله عنه among those who served in the Prophet’s ﷺ campaigns. Keep the battle details brief here unless a specific report about him is being cited.

Story Step

Uhud in 3 AH / 625 CE

Uhud happened in 3 AH / 625 CE. Abu Ayyub رضي الله عنه lived through the years when the Muslims were being trained through hardship, discipline, loss, patience, and renewed obedience.

Story Step

Al-Khandaq in 5 AH / 627 CE

The Battle of al-Khandaq took place in 5 AH / 627 CE. The Ansar defended Madinah beside the Muhajirun, and Abu Ayyub رضي الله عنه belongs to the generation that carried the city through these tests.

Story Step

A narrator of practical Islam

Abu Ayyub رضي الله عنه narrated hadith that touch everyday Muslim life: worship, kinship, reconciliation, food manners, fasting, and courage. His legacy is not only battlefield courage, but clean practice.

Story Step

A deed that enters Paradise

Sahih al-Bukhari 5983 records Abu Ayyub رضي الله عنه narrating that a man asked the Prophet ﷺ about a deed that would enter him into Paradise. The answer centred on worshipping Allah alone, prayer, zakah, and keeping family ties.

Story Step

Tawhid first

That hadith is important because it begins with worshipping Allah without shirk. In Abu Ayyub’s narration, Paradise is tied to the roots of faith before the branches of social righteousness are mentioned.

Story Step

Family ties are not small

The same narration joins prayer and zakah with keeping family ties. Abu Ayyub رضي الله عنه preserved a hadith that teaches Islam as both worship of Allah and mercy toward relatives.

Story Step

Do not cut off your Muslim brother

Sahih al-Bukhari 6077 records Abu Ayyub رضي الله عنه narrating that it is not lawful for a Muslim to desert his brother for more than three nights, and that the better of the two is the one who starts with salam.

Story Step

The courage of starting salam

This hadith is a mirror for the heart. Reconciliation is not always dramatic. Sometimes the brave action is simply to begin with salam and let pride crack like dry clay.

Story Step

Six days of Shawwal

Sahih Muslim 1164a records Abu Ayyub رضي الله عنه narrating the virtue of fasting Ramadan and then following it with six days of Shawwal, with reward like fasting perpetually.

Story Step

A hadith narrator after the Prophet ﷺ returned to Allah

After the Prophet ﷺ returned to Allah, Abu Ayyub رضي الله عنه continued to carry Prophetic knowledge. His narrations reached later generations and became part of the hadith library of the Ummah.

Story Step

Service in later campaigns

Biographical sources remember Abu Ayyub رضي الله عنه as someone who continued serving even when old age had arrived. His story did not end with the honour of hosting; he remained active in the path of Allah.

Story Step

Qur’an 2:195 and the Ansar

Jami‘ at-Tirmidhi 3123 records Abu Ayyub رضي الله عنه explaining the verse about not throwing oneself into destruction. He said the verse was revealed concerning Ansar who considered staying with their wealth after Islam became strong, so the harm was abandoning spending and striving for Allah.

Story Step

A lesson against misreading courage

The report shows Abu Ayyub رضي الله عنه correcting people who misunderstood bravery as self-destruction. He clarified that the verse warned against leaving service for the comfort of wealth.

Story Step

The Constantinople campaign

In later life, Abu Ayyub رضي الله عنه joined the Muslim campaign toward Constantinople during the Umayyad period. Reports place this around the rule of Mu‘awiyah رضي الله عنه, with Yazid connected to the command.

Story Step

His final request near Constantinople

Biographical reports mention that when his final illness came during the campaign, he requested to be carried as far as possible and buried near the walls of Constantinople. Present this as biographical history, not as Qur’an or Sahih hadith wording.

Story Step

Dates differ around 50-52 AH

Reports differ on the exact year Abu Ayyub رضي الله عنه returned to Allah near Constantinople. Commonly mentioned years include 50 AH, 51 AH, and 52 AH, so the safest wording keeps the range visible.

Story Step

Not a page of legends

Because his resting place later became famous in Istanbul, many later stories gathered around it. The page should mention the historical memory without turning legends into firm Islamic evidence.

Story Step

A life from doorway to frontier

His life stretches from the doorway of a humble Madinan home to the frontier near Constantinople. The same man who hosted the Prophet ﷺ also remained committed to Islam in old age.

Story Step

What to remember most

Remember him as the host of the Prophet ﷺ, a man of adab, a narrator of practical guidance, an Ansari who loved service, and a Companion who did not retire from sincerity.

Who was Abu Ayyub al-Ansari رضي الله عنه?

Abu Ayyub رضي الله عنه was Khalid ibn Zayd al-Ansari, from the people of Madinah who supported the Prophet ﷺ. He is remembered with special love because his house became the first temporary home of the Prophet ﷺ after the Hijrah.

His life should not be reduced to one title only. He hosted, served, narrated, advised, reconciled, and continued striving after the Prophetic lifetime. His biography feels like a doorway: simple from outside, full of light once opened.

Simple identity line

Abu Ayyub رضي الله عنه was the Ansari Companion who hosted Prophet Muhammad ﷺ when he arrived in Madinah and remained devoted to Islam until his final years.

The honour of hosting Prophet Muhammad ﷺ

Sahih Muslim 2053c records that the Messenger of Allah ﷺ stayed in the house of Abu Ayyub al-Ansari رضي الله عنه when he came to Madinah. The report mentions the Prophet ﷺ occupying the lower storey at first, while Abu Ayyub رضي الله عنه was above.

Abu Ayyub رضي الله عنه felt great reverence and did not want to walk above the head of the Messenger ﷺ. After he expressed this concern, the Prophet ﷺ shifted to the upper storey while Abu Ayyub رضي الله عنه moved below. This is one of the most tender examples of adab in the Sahabah’s lives.

The food and garlic report

The same Sahih Muslim report shows Abu Ayyub رضي الله عنه preparing food for the Prophet ﷺ. When food returned, he would ask where the Prophet’s ﷺ fingers had touched and eat from that place. This was not performance. It was love with discipline and quiet devotion.

When garlic was served and the Prophet ﷺ did not eat it, Abu Ayyub رضي الله عنه asked whether it was forbidden. The Prophet ﷺ clarified that it was not forbidden, but he did not like it because revelation came to him and angels visited him. This section must preserve both love and the correct ruling.

A deed that leads to Paradise

Sahih al-Bukhari 5983 records Abu Ayyub رضي الله عنه narrating that a man asked the Prophet ﷺ about a deed that would enter him into Paradise. The Prophet ﷺ directed him to worship Allah without associating anything with Him, establish prayer, give zakah, and keep family ties.

This narration makes his page spiritually useful. It teaches tawhid, worship, charity, and family duty in one clean Prophetic answer.

Reconciliation and the first salam

Sahih al-Bukhari 6077 records Abu Ayyub رضي الله عنه narrating that it is not lawful for a Muslim to desert his brother for more than three nights. The better of the two is the one who begins with salam.

This hadith should be given a warm place on the page. It turns biography into action: do not let pride build walls inside the Ummah. Start with salam, and let mercy enter through the crack.

Six days of Shawwal

Sahih Muslim 1164a records Abu Ayyub رضي الله عنه narrating the virtue of fasting Ramadan and then following it with six days of Shawwal. The reward is described as being like fasting perpetually.

This is one reason his name remains familiar to many Muslims in daily worship discussions. His narration is recited every year when Shawwal arrives like a small moonlit invitation after Ramadan.

Qur’an 2:195 and not abandoning service

Jami‘ at-Tirmidhi 3123 records Abu Ayyub رضي الله عنه explaining the verse about spending in Allah’s cause and not throwing oneself into destruction. He corrected people who thought the verse condemned a bold battlefield action.

He explained that the verse was connected to Ansar who considered returning to their wealth and reducing their striving after Islam became strong. In his explanation, destruction was not sacrifice for Allah, but abandoning Allah’s cause for comfort.

Final campaign and dates

Biographical reports place Abu Ayyub رضي الله عنه in the campaign toward Constantinople during the Umayyad period. Even in old age, he is remembered as someone who continued serving instead of folding his life away from sacrifice.

Reports differ on the exact year he returned to Allah, commonly mentioning 50 AH, 51 AH, or 52 AH. The safest page wording is to say that he returned to Allah near Constantinople during that period, and to avoid pretending one exact year is beyond discussion.

Virtues and honours

These points keep the page centred on his Prophetic hosting, Ansari service, authentic narrations, and lifelong devotion.

Lesson

Host of the Prophet ﷺ

Sahih Muslim records that the Prophet ﷺ stayed in his house when he arrived in Madinah.

Lesson

From the Ansar

He belonged to the people who sheltered, supported, and loved the Messenger ﷺ and the Muhajirun.

Lesson

Banu al-Najjar connection

His house was close to the future site of Masjid an-Nabawi in the early Madinan period.

Lesson

Great adab

His concern about being above the Prophet ﷺ shows reverence and refined manners.

Lesson

Food service

He prepared food for the Prophet ﷺ and followed the place touched by the Prophet’s ﷺ fingers.

Lesson

Narrator of tawhid and kinship

Sahih al-Bukhari preserves his narration about worshipping Allah, prayer, zakah, and family ties.

Lesson

Narrator of reconciliation

He narrated the hadith about not deserting a Muslim brother beyond three nights.

Lesson

Narrator of Shawwal fasting

Sahih Muslim preserves his narration about fasting six days of Shawwal after Ramadan.

Lesson

Lifelong service

He remained active in service during the later Muslim campaigns despite old age.

Lessons from his life

Abu Ayyub رضي الله عنه teaches adab, hospitality, reconciliation, family ties, worship after Ramadan, and service that does not retire from sincerity.

Lesson

Hosting can become worship

Abu Ayyub رضي الله عنه shows that opening a home for Allah’s cause can become a mountain of honour.

Lesson

Adab gives beauty to love

His love for the Prophet ﷺ was quiet, practical, and full of respect.

Lesson

Do not confuse preference with prohibition

The garlic report teaches that the Prophet ﷺ personally disliked it in that situation, but did not declare it forbidden.

Lesson

Start with tawhid

The deed that leads to Paradise begins with worshipping Allah alone.

Lesson

Family ties matter

Kinship is not decorative; it appears beside prayer and zakah in a major hadith narrated by Abu Ayyub رضي الله عنه.

Lesson

End grudges quickly

The better person begins with salam and breaks the ice of silence.

Lesson

Keep serving with age

He did not allow old age to empty his life of effort for Allah.

Lesson

Be careful with famous resting-place stories

Historical memory can be mentioned, but legends should not be dressed as evidence.

Lesson

Love is proven by service

His biography teaches that love for the Prophet ﷺ is not slogans; it is obedience, service, sacrifice, and manners.

Dates and wording notes

Keep the Sahih reports clear, label biographical material honestly, and do not invent precision where the sources differ.

Lesson

About his full name

Use Abu Ayyub Khalid ibn Zayd رضي الله عنه. The extended lineage comes from biographical works, so do not treat every extra ancestor as hadith text.

Lesson

About al-‘Aqabah

His connection to the pledge is reported in biography and Seerah material. Label it correctly.

Lesson

About hosting

Sahih Muslim 2053c is the strongest anchor for the Prophet ﷺ staying in his house and the upper-lower storey incident.

Lesson

About the garlic report

Do not say garlic is forbidden. The Prophet ﷺ said it was not forbidden in the report, but he personally did not like it because of revelation and angelic visits.

Lesson

About the length of stay

Several months is safe. Exact six or seven months should be treated as Seerah wording unless tied to the source being used.

Lesson

About battles

He is remembered in biographical works for broad military participation. Keep individual battle claims source-aware unless a report is cited.

Lesson

About Qur’an 2:195

Jami‘ at-Tirmidhi 3123 records his explanation of the verse. Use it as a tafsir-linked hadith report.

Lesson

About Constantinople

His final campaign and resting place near Constantinople are famous in biographical history. Keep later shrine stories separate from authenticated religious evidence.

Lesson

About final dates

Do not give one exact year with false certainty. Use the range around 50, 51, or 52 AH, and mention that reports differ.

Lesson

About sectarian wording

Avoid using his later political or historical associations to attack other Companions. Keep the tone respectful.

References used

  • Sahih Muslim 2053c: Used for the Prophet ﷺ staying in Abu Ayyub’s house, the upper and lower storey, food service, and the garlic incident.
  • Sahih al-Bukhari 5983: Used for Abu Ayyub’s narration about a deed that enters Paradise: tawhid, prayer, zakah, and keeping family ties.
  • Sahih al-Bukhari 6077: Used for the hadith about not deserting a Muslim brother for more than three nights and beginning with salam.
  • Sahih Muslim 1164a: Used for Abu Ayyub’s narration about fasting Ramadan followed by six days of Shawwal.
  • Jami‘ at-Tirmidhi 3123: Used for Abu Ayyub’s explanation of Qur’an 2:195 and the Ansar’s duty not to abandon service for wealth.
  • Classical Seerah and biographical works: Used for his extended lineage, al-‘Aqabah connection, broad battle participation, the length of the Prophet’s ﷺ stay, and the Constantinople final-year reports.

ٱلْحَمْدُ لِلَّٰهِ رَبِّ ٱلْعَٰلَمِينَ

All praise is for Allah, Lord of all worlds.