Language:
كتاب الصلاة
8  
Prayers (Salat)
(43)
Chapter: Receivng and invitation to dinner in the mosque and accepting it
(43)
باب مَنْ دَعَا لِطَعَامٍ فِي الْمَسْجِدِ وَمَنْ أَجَابَ فِيهِ
Sahih al-Bukhari 422

Narrated Anas:

I found the Prophet (ﷺ) in the mosque along with some people. He said to me, "Did Abu Talha send you?" I said, "Yes". He said, "For a meal?" I said, "Yes." Then he said to his companions, "Get up." They set out and I was ahead of them.

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنْ إِسْحَاقَ بْنِ عَبْدِ اللَّهِ، سَمِعَ أَنَسًا، قَالَ وَجَدْتُ النَّبِيَّ صلى الله عليه وسلم فِي الْمَسْجِدِ مَعَهُ نَاسٌ فَقُمْتُ، فَقَالَ لِي ‏"‏ آرْسَلَكَ أَبُو طَلْحَةَ ‏"‏ قُلْتُ نَعَمْ‏.‏ فَقَالَ ‏"‏ لِطَعَامٍ ‏"‏‏.‏ قُلْتُ نَعَمْ‏.‏ فَقَالَ لِمَنْ حَوْلَهُ ‏"‏ قُومُوا ‏"‏‏.‏ فَانْطَلَقَ وَانْطَلَقْتُ بَيْنَ أَيْدِيهِمْ‏.‏
Reference : Sahih al-Bukhari 422
In-book reference : Book 8, Hadith 72
USC-MSA web (English) reference : Vol. 1, Book 8, Hadith 414
  (deprecated numbering scheme)