It is narrated from Muhammad bin Sirin (may Allah have mercy on him) that his father invited a group of the noble Companions (may Allah be pleased with them) of the Prophet ﷺ to a wedding feast (walimah). The Companions (may Allah be pleased with them) came, and among them was Ubayy bin Ka'b (may Allah be pleased with him). The narrator says: I think that Ubayy bin Ka'b (may Allah be pleased with him) supplicated for blessing and then left.
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 639
Hadith Takhrijاسناده منقطع لأن ابن سيرين يحكى قصة وليمة أبيه يامه ولم يك اذ ذاك قد خلق : اخرجه البيهقي في المعرفة السنن والآثار (4337) وعبد الرزاق (19665)۔
Abdullah bin Abi Yazid (may Allah have mercy on him) narrates that my father invited Abdullah bin Umar (may Allah be pleased with them both). He came and sat down, and the food was served. Abdullah bin Umar (may Allah be pleased with them both) extended his hand and said: "Take (eat) in the name of Allah," and then Abdullah (may Allah be pleased with him) withdrew his hand and said: "I am fasting."
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 640
Hadith Takhrijاسناده صحیح اخرجه البيهقي: 263/7 ۔ وفى المعرفة السنن والآثار له (4338) ۔ وابن ابي شيبة (9441)۔
It is narrated from Anas bin Malik, may Allah be pleased with him, that the Prophet ﷺ came to the house of Abu Talha Al-Ansari, may Allah be pleased with him, and a group was with him ﷺ. They ate food at his place, and this was an invitation other than a wedding feast (walimah).
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 641
Hadith Takhrijاخرجه البخاري، الصلاة، باب من دعى لطعام في المسجد و من أجاب منه (422)، (3578) ومسلم، الاشربة باب جواز استتباعه غيره الى دار من يثق برضاه بذلك ..... الخ (2040)۔