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

Abu Haraira (Allah be pleased with him) reported Allah's Apostle (ﷺ) as saying. The worst kind of food is at the wedding feast from which one who comes is turned away, and he who refuses it is invited, and he who did not accept the invitation disobeyed Allah and His Messenger (ﷺ).

وَحَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ، قَالَ سَمِعْتُ زِيَادَ بْنَ سَعْدٍ، قَالَ سَمِعْتُ ثَابِتًا، الأَعْرَجَ يُحَدِّثُ عَنْ أَبِي هُرَيْرَةَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ ‏ "‏ شَرُّ الطَّعَامِ طَعَامُ الْوَلِيمَةِ يُمْنَعُهَا مَنْ يَأْتِيهَا وَيُدْعَى إِلَيْهَا مَنْ يَأْبَاهَا وَمَنْ لَمْ يُجِبِ الدَّعْوَةَ فَقَدْ عَصَى اللَّهَ وَرَسُولَهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 1432d
In-book reference : Book 16, Hadith 127
USC-MSA web (English) reference : Book 8, Hadith 3353
  (deprecated numbering scheme)