FR 5898 then A3 4035 at Madrid
Torino → Madrid → Athens
Timetable, Madrid time
23:10FR 5898 from Torino at the gate
13:20A3 4035 to Athens leaves the gate
14 h 10 apart on the timetable, overnight
A3 4035 leaves 14 h 10 after FR 5898 arrives on the timetable: more than half a day, so not a connection we count.