FR 5316 then AD 7860 at Madrid
Rome → Madrid → Paris Orly
Timetable, Madrid time
23:40FR 5316 from Rome at the gate
16:30AD 7860 to Paris Orly leaves the gate
16 h 50 apart on the timetable, overnight
AD 7860 leaves 16 h 50 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.