عن عَائِشَةَ رضيَ الله عنها قالت: إِنِّي سمعْتُ رسولَ الله صلى الله عليه وسلم يقول:
«لَا صَلَاةَ بِحَضْرَةِ الطَّعَامِ، وَلَا هُوَ يُدَافِعُهُ الْأَخْبَثَانِ».
[صحيح] - [رواه مسلم] - [صحيح مسلم: 560]
المزيــد ...
‘Ā’ishah (may Allah be pleased with her) reported: I heard the Messenger of Allah (may Allah's peace and blessings be upon him) say:
"No prayer should be offered in the presence of food or when he is resisting the need to relieve himself of the two filths."
[Authentic hadith] - [Narrated by Muslim] - [Sahih Muslim - 560]
The Messenger of Allah (may Allah's peace and blessings be upon him) forbade praying in the presence of food, which the praying person craves and wants very much.
Also, he forbade praying while resisting the need to relieve oneself of the two filths - urine and stool - for this causes distraction.