Abu Ayyub al-Ansari (died 674) — born Khalid bin Zayd bin Kulayb in Yathrib — hailed from the tribe of Banu Najjar and was a close companion (Arabic: الصحابه, sahaba) of Muhammad. He was named after the biblical Job. Abu Ayyub was one among the Ansar (Arabic: الأنصار, meaning aiders, helpers or patrons) of early Muslim history or those who supported Muhammad after the hegira (migration) to Medina in 622. The patronym Abu Ayyub, means father (abu) of Ayyub. Abu Ayyub died of dysentery during the First Arab Siege of Constantinople.
When Muhammad arrived in Medina, all of the inhabitants of the city offered to accommodate him. He decided instead to allow his camel to walk where it chose and to stay at whomsoever's house it stopped. The camel of its own accord, stopped at the hose Abu Ayyub al-Ansari, a member of the Bani An-Najjar, who were regarded as the best of the tribes of Medina. [Sahih Bukari Book #73, Hadith #79.] Though Abu Ayub Al Ansari had prepared meals for only Muhammad and Abubakr, Muhammad directed that everyone in the neighborhood be invited to partake in the meal. To everyone's surprised delight, all of the approximately 180 people who came, were able to eat to their satisfaction. This was deemed to be a miracle.
Waqif of Al-Masjid an-Nabawi: The land of Al-Masjid an-Nabawi belonged to two young orphans, Sahal and Suhayl,and when they cane to know that Muhammad was keen to acquire their land for the purposes of erecting a masjid; they went to the Prophet and offered the land to him as gift, but the Prophet insisted on fixing and paying a price for the land precisely because they were orphaned children. The ultimately agreed purchase price was paid by Abu Ayyub al-Ansari who thus became the واقِف (waqif, or creator of an endowment or mortmain; donor) of Al-Masjid an-Nabawi on behalf of, or in favor of Muhammad.
Following the Muslim conquest of Egypt, Abu Ayyub moved to, and lived in a house in Fustat, adjacent to the mosque of Amr bin Al'aas that been completed in 642. Several other notable companions were his neighbors, including Zubayr ibn al-Awwam, Ubaida, Abu Dhar, Abdullah ibn Umar and Abdullah ibn Amr bin Al'aas, .