AM 6938 then FR 9674 at Madrid
Paris Orly → Madrid → Rome
Timetable, Madrid time
12:55AM 6938 from Paris Orly at the gatealso AD 7864
10:25FR 9674 to Rome leaves the gate
21 h 30 apart on the timetable, overnight
FR 9674 leaves 21 h 30 after AM 6938 arrives on the timetable: more than half a day, so not a connection we count.