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