ME 251 then FR 7596 at Athens
Beirut → Athens → Budapest
Timetable, Athens time
10:15ME 251 from Beirut at the gate
09:55FR 7596 to Budapest leaves the gate
23 h 40 apart on the timetable, overnight
FR 7596 leaves 23 h 40 after ME 251 arrives on the timetable: more than half a day, so not a connection we count.