AZ 863 then FR 9673 at Fiumicino
Tunis → Rome → Madrid
Timetable, Rome time
12:50AZ 863 from Tunis at the gate
12:35FR 9673 to Madrid leaves the gate
23 h 45 apart on the timetable, overnight
FR 9673 leaves 23 h 45 after AZ 863 arrives on the timetable: more than half a day, so not a connection we count.