185
The Prophet ﷺ said:
إِذَا دُعِيَ أَحَدُكُمْ فَلْيُجِبْ، فَإِنْ كَانَ صَائِمًا فَلْيُصَلِّ، وَإِنْ كَانَ مُفْطِرًا فَلْيَطْعَمْ
Idha du'iya ahadukum falyujib, fa in kana sa'iman falyusall, wa in kana muftiran falyat'am
When one of you is invited, let him accept. If he is fasting, let him pray (for his host); and if he is not fasting, let him eat.
Source Ṣaḥīḥ Muslim, The Book of Marriage — site no. 3398 Ṣaḥīḥ
Compiler cites Muslim 2/1054, no. 1431