FR 5316 then LA 1731 at Madrid
Rome → Madrid → Paris Orly
Timetable, Madrid time
23:40FR 5316 from Rome at the gate
18:05LA 1731 to Paris Orly leaves the gatealso VY 5145, QR 6988
18 h 25 apart on the timetable, overnight
LA 1731 leaves 18 h 25 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.