The Noble scholar Shaykh Salih al-Fawzān (may Allāh preserve him) said:
Here, there’s a matter which is a must that attention be brought to, and it is that some of the people sit at the table where a person’s fast is broken, have dinner and leave off praying Maghrib in congregation in the Masjid. As a result of that, the person commits a great mistake, and it is staying back from praying (the Maghrib) in congregation in the Masjid. He causes himself to miss out on a magnificent reward and subjects himself to the punishment (of Allāh). That which is legislated for the fasting person is that he first breaks his fast, then he goes (to the Masjid) for the prayer, then afterwards he has his dinner.