Sahih Muslim, Book 16, Hadith 112 (Muslim 3478)

Ibn Umar (Allah be pleased with him) reported that Allah's Messenger (ﷺ) said:

When any one of you is invited to a feast, he should attend it.