It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he said: "A man prepared food and invited the Messenger of Allah (peace and blessings be upon him) and his Companions (may Allah be pleased with them). One of them said: I am fasting. At this the Messenger of Allah (peace and blessings be upon him) said: 'Your brother has prepared food and invited you, so break your fast and make it up on another day in its place.'"
Imam Abu Dawud al-Tayalisi and Ahmad bin Mani' recorded it, but its chain is da'if (weak) because Muhammad bin Abi Humayd is weak. This narration will come again in the Book of Foods, in the section on gathering together for food.