Abu Masud Uqba bin Amr reported,

There was a man from the Ansar called Abu Shuayb who had a servant who was a butcher. He saw the Messenger of Allah ﷺ and recognized hunger on his face, so he said to his servant, "Woe to you, prepare for us food enough for five people, for I wish to invite the Prophet ﷺ as the fifth of five."So the servant prepared the food, then Abu Shuayb came to the Prophet ﷺ and invited him as the fifth of five. Another man followed them along the way, and when they reached the door, the Prophet ﷺ said, "This man has followed us. If you wish, you may permit him to enter, and if you wish, he will return."Abu Shuayb replied, "No, I will permit him, Messenger of Allah."

Azami 14460

Sahih

عن أبي مسعود الأنصاري، قال

كان رجل من الأنصار يقال له: أبو شعيب، وكان له غلام لحام، فرأى رسول الله ﷺ فعرف في وجهه الجوع، فقال لغلامه: ويحك، اصنع لنا طعاما لخمسة نفر، فإني أريد أن أدعو النبي ﷺ الخامس خمسة، قال: فصنع، ثم أتى النبي ﷺ فدعاه خامس خمسة و اتبعهم رجل، فلما بلغ الباب، قال النبي ﷺ: إن هذا اتبعنا، فإن شئت أن تأذن له، وإن شئت رجع، قال: لا، بل آذن له يا رسول الله.

الأعظمي 14460صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of hospitality, and feeding food
Section
Permission of the host for an uninvited man
Numbering
Jami al-Kamil 14460 (2nd edition)
Azami 14460