(28) باب الصَّائِمِ يُدْعَى لِطَعَامٍ أَوْ يُقَاتَلُ فَلْيَقُلْ إِنِّي صَائِمٌ
Abu Huraira (Allah be pleased with him) reported Allah's Apostle (ﷺ) as saying:
If any one of you is invited to a meal when he is fasting, he should say:" I am fasting." (IT)
Reference (IT): Sahih Muslim 1150 (IT)
In-book reference (IT): Book 13, Hadith 208 (IT)
USC-MSA web (English) reference(deprecated numbering scheme): Book 6, Hadith 2562 (IT)