كتاب النكاح
16  
The Book of Marriage
(16)
Chapter: The command to accept invitations
(16)
باب الأَمْرِ بِإِجَابَةِ الدَّاعِي إِلَى دَعْوَةٍ ‏
Sahih Muslim 1430 a

Jabir (Allah be pleased with him) reported that Allah's Messenger (may peace he upon him) said:

When any one of you is invited to a feast, he should accept it. He may eat if he likes, or he may abandon (eating) if he likes. Ibn Mathanni did not make mention of the word" feast".
وَحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ، اللَّهِ بْنِ نُمَيْرٍ حَدَّثَنَا أَبِي قَالاَ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِذَا دُعِيَ أَحَدُكُمْ إِلَى طَعَامٍ فَلْيُجِبْ فَإِنْ شَاءَ طَعِمَ وَإِنْ شَاءَ تَرَكَ ‏"‏ ‏.‏ وَلَمْ يَذْكُرِ ابْنُ الْمُثَنَّى ‏"‏ إِلَى طَعَامٍ ‏"‏ ‏.‏
Reference : Sahih Muslim 1430a
In-book reference : Book 16, Hadith 121
USC-MSA web (English) reference : Book 8, Hadith 3346
  (deprecated numbering scheme)