FR 6712 then GQ 921 at Madrid
Budapest → Madrid → Athens
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
14:20GQ 921 to Athens leaves the gate
20 h 10 apart on the timetable, overnight
GQ 921 leaves 20 h 10 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.