EC 1703 then GQ 921 at Madrid
Nice → Madrid → Athens
Timetable, Madrid time
20:40EC 1703 from Nice at the gate
14:20GQ 921 to Athens leaves the gate
17 h 40 apart on the timetable, overnight
GQ 921 leaves 17 h 40 after EC 1703 arrives on the timetable: more than half a day, so not a connection we count.