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