Abu Ayyub al-Ansari(died 674) — born Khalid ibn Zayd ibn 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 of Ayyub. Abu Ayyub died during the First Arab Siege of Constantinople.
When Prophet Muhammad (ﷺ) arrived in Medina, he was offered accommodation by all of its inhabitants. It was decided to leave his camel to walk freely and where ever it sits and whomsoever's house is near to choose as Prophet's temporary residence and the camel sat near Abu Ayyub al-Ansari 's house who belonged to Bani An-Najjar the best of the tribes in Medina. When Abu Ayub Al Ansari cooked a lunch only for Muhammad and Abubackr Muhammad ordered to invite the neighbourhood to their surprise which were about 180 people who ate satisfactorily and was a miracle.
Following the Muslim conquest of Egypt, Abu Ayyub moved to a house in Fustat adjacent to the mosque of Amr bin Al'aas which was 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.
He also led a distinguished military career. Of him it was said, "He did not stay away from any battle the Muslims fought from the time of Muhammad to the time of Muawiyah, unless he was engaged at the same time in another."