A3 700 then FR 5315 at Madrid
Athens → Madrid → Rome
Timetable, Madrid time
12:05A3 700 from Athens at the gate
06:55FR 5315 to Rome leaves the gate
18 h 50 apart on the timetable, overnight
FR 5315 leaves 18 h 50 after A3 700 arrives on the timetable: more than half a day, so not a connection we count.