Sayyiduna Jabir (may Allah be pleased with him) said that the Messenger of Allah (peace and blessings be upon him) said: "When you are invited, accept it; then if you wish, eat, otherwise leave it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصداق / 14539