‘Aishah reports that the Prophet said: “If dinner is served and the prayer is ready, start with the dinner [first].” This is related by Ahmad and Muslim.
Naf’i reports that the food would be served for Ibn ‘Umar while the iqamah was being made, but he would not come to the salah until he finished his meal although he could hear the reciting of the imam. This is related by al-Bukhari.
Al-Khattabi says: “The Prophet ordered that one should begin with one’s meal in order to satisfy his need. In this way, he will come to the salah in calm and his desire or hunger will not disturb the completion or perfection of his ruku’ and sajjud and the rest of the acts of the salah.”