AZ 717 then FR 9601 at Fiumicino
Athens → Rome → Madrid
Timetable, Rome time
07:05AZ 717 from Athens at the gate
06:00FR 9601 to Madrid leaves the gate
22 h 55 apart on the timetable, overnight
FR 9601 leaves 22 h 55 after AZ 717 arrives on the timetable: more than half a day, so not a connection we count.