It is narrated from Hazrat Aisha (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) said: No person should offer prayer when food has been served before him or while suppressing the urge to urinate or defecate.