“If anyone of you is invited to eat when he is fasting, let him say: ‘I am fasting.’”
Sunan Ibn Majah Book 7, Hadith 113