XZ 2330 then FR 5316 at Fiumicino
Cagliari → Rome → Madrid
Timetable, Rome time
07:10XZ 2330 from Cagliari at the gate
05:45FR 5316 to Madrid leaves the gate
22 h 35 apart on the timetable, overnight
FR 5316 leaves 22 h 35 after XZ 2330 arrives on the timetable: more than half a day, so not a connection we count.