(14) باب إِذَا أَذِنَ إِنْسَانٌ لآخَرَ شَيْئًا جَازَ
Narrated Abu Mas`ud:
There was an Ansari man called Abu Shu'aib who had a slave butcher. Abu Shu'aib said to him, "Prepare a meal sufficient for five persons so that I might invite the Prophet (ﷺ) besides other four persons." Abu Shu'aib had seen the signs of hunger on the face of the Prophet (ﷺ) and so he invited him. Another man who was not invited, followed the Prophet. The Prophet (ﷺ) said to Abu Shu'aib, "This man has followed us. Do you allow him to share the meal?" Abu Shu'aib said, "Yes."
Reference: Sahih al-Bukhari 2456
In-book reference: Book 46, Hadith 17
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 43, Hadith 636