A3 877 then A3 906 at Athens
Budapest → Athens → Larnaca
Timetable, Athens time
19:20A3 877 from Budapest at the gate
18:30A3 906 to Larnaca leaves the gate
23 h 10 apart on the timetable, overnight
A3 906 leaves 23 h 10 after A3 877 arrives on the timetable: more than half a day, so not a connection we count.