AZ 720 then A3 876 at Athens
Rome → Athens → Budapest
Timetable, Athens time
11:55AZ 720 from Rome at the gate
11:00A3 876 to Budapest leaves the gate
23 h 05 apart on the timetable, overnight
A3 876 leaves 23 h 05 after AZ 720 arrives on the timetable: more than half a day, so not a connection we count.