Translation:
Prophet Muhammad (PBUH) said, "When one of you is invited (to a meal), let him accept the invitation. If he is not fasting, let him eat; and if he is fasting, let him pray (i.e., make duʿā' for the host)."
Context:
This authentic (Sahih) hadith is narrated by Abu Hurairah (RA), and it is recorded in Sahih Muslim, Hadith 1431 (Sunnah.com) and Sunan Abī Dāwūd, Vol. 2, p. 487, Hadith 2460 (Dawat-e-Islami).
In this authentic hadith, Prophet Muhammad (PBUH) advised believers to accept invitations from one another as a goodwill gesture to make social ties strong. The Hadith further explains how one should honor an invitation for a meal even while fasting and make dua for the host. And when the believer is not fasting, he should eat the meal.
Download