Hadith.1933 - Al-Halabi narrated from Abu Abdullah (as) that he was asked about breaking the fast before or after prayer.
Imam (as) said
"If he is with a group and fears delaying their dinner, let him break his fast with them. Otherwise, let him pray first, then break his fast."