Sahih Muslim, Book 36, Hadith 188 (Muslim 5268)

Abu Huraira reported:

One day while Abu Bakr was sitting and there was with him Umar also there came to them Allah's Messenger (ﷺ) and he said: What makes you stay here? They said: It is hunger that has brought us out from our houses. By Him Who has stint you with Truth; the rest of the hadith is the same.