XZ 2342 then FR 5316 at Fiumicino
Cagliari → Rome → Madrid
Timetable, Rome time
16:20XZ 2342 from Cagliari at the gate
09:25FR 5316 to Madrid leaves the gate
17 h 05 apart on the timetable, overnight
FR 5316 leaves 17 h 05 after XZ 2342 arrives on the timetable: more than half a day, so not a connection we count.