A3 651 then A3 876 at Athens
Rome → Athens → Budapest
Timetable, Athens time
13:35A3 651 from Rome at the gate
11:00A3 876 to Budapest leaves the gate
21 h 25 apart on the timetable, overnight
A3 876 leaves 21 h 25 after A3 651 arrives on the timetable: more than half a day, so not a connection we count.