Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:5033Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Zakariyyā b. Abū Isḥāq al-Muzakkī Waʾabū Naṣr Aḥmad b. ʿAlī b. Aḥmad b. Shabīb al-Fāmī Waʾabū Ṣādiq Muḥammad b. Aḥmad al-Ṣaydalānī > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > ʿAbdullāh b. Wahb > ʿAmr b. al-Ḥārith Wayūnus b. Yazīd > Ibn Shihāb > Anas b. Mālik

[Machine] The Messenger of Allah ﷺ said, "When the dinner is served and the prayer is ready, start with it before the Maghrib prayer."  

البيهقي:٥٠٣٣وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ الْمُزَكِّي وَأَبُو نَصْرٍ أَحْمَدُ بْنُ عَلِيِّ بْنِ أَحْمَدَ بْنِ شَبِيبٍ الْفَامِيُّ وَأَبُو صَادِقٍ مُحَمَّدُ بْنُ أَحْمَدَ الصَّيْدَلَانِيُّ قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا الرَّبِيعُ بْنُ سُلَيْمَانَ ثنا عَبْدُ اللهِ بْنُ وَهْبٍ أَخْبَرَنِي عَمْرُو بْنُ الْحَارِثِ وَيُونُسُ بْنُ يَزِيدَ عَنِ ابْنِ شِهَابٍ قَالَ حَدَّثَنِي أَنَسُ بْنُ مَالِكٍ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ إِذَا وُضِعَ الْعَشَاءُ وَحَضَرَتِ الصَّلَاةُ فَابْدَءَوا بِهِ قَبْلَ صَلَاةِ الْمَغْرِبِ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ هَارُونَ الْأَيْلِيِّ عَنِ ابْنِ وَهْبٍ عَنْ عَمْرٍو وَحْدَهُ

See similar narrations below:

Collected by Ibn Ḥibbān

ذِكْرُ الْعُذْرِ الثَّانِي وَهُوَ حُضُورُ الطَّعَامِ عِنْدَ صَلَاةِ الْمَغْرِبِ

ibnhibban:2066ʿAbdullāh b. Muḥammad b. Salm > Ḥarmalah b. Yaḥyá > Ibn Wahb > ʿAmr b. al-Ḥārith > Ibn Shihāb > Anas b. Mālik

The Messenger of Allah ﷺ said: When the supper is brought before you, and it is also the time to say prayer, first take food before saying evening prayer and do not hasten (to prayer, leaving aside the food). (Using translation from Muslim 557b)  

ابن حبّان:٢٠٦٦أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ سَلْمٍ قَالَ حَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى قَالَ حَدَّثَنَا ابْنُ وَهْبٍ قَالَ أَخْبَرَنِي عَمْرُو بْنُ الْحَارِثِ عَنِ ابْنِ شِهَابٍ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ النَّبِيَّ ﷺ قَالَ «إِذَا قُرِّبَ الْعَشَاءُ وَحَضَرَتِ الصَّلَاةُ فَابْدَءُوا بِهِ قَبْلَ صَلَاةِ الْمَغْرِبِ وَلَا تَعْجَلُوا عَنْ عَشَائِكُمْ»