A host among the Ansar
Abu Ayyub, whose name was Khalid ibn Zayd, belonged to the Najjar branch of Khazraj. After Muhammad ﷺ arrived in Madinah, his household hosted him during the establishment of the mosque and nearby living quarters.
Companionship and transmission
He participated in major events of the Medinan period and transmitted reports about worship and daily conduct. His biography joins the practical hospitality of the Ansar with service in the wider community.
Trust in him extended beyond his role as host. When unrest prevented Uthman from leading prayers, Abu Ayyub served for a time as imam on Ali’s advice. Ali later left him in charge of Medina when departing for Iraq, and he supported Ali in the ensuing conflicts. His biography therefore includes public choices as well as hospitality. The later Istanbul shrine preserves another stage of his remembrance, but that devotional prominence should not obscure the administrative responsibility and political allegiance described in the early sources.