Hadith 2242
Sayyiduna Ibn Umar (may Allah be pleased with them both) said: The Messenger of Allah (peace and blessings be upon him) said: "When any of you is invited to a wedding feast, he should accept the invitation" (that is, he must go to it). Imam Darimi (may Allah have mercy on him) said: He should accept the invitation, but eating the food is not obligatory for him.