AZ 867 then FR 3181 at Fiumicino
Tunis → Rome → Barcelona
Timetable, Rome time
20:35AZ 867 from Tunis at the gate
13:15FR 3181 to Barcelona leaves the gate
16 h 40 apart on the timetable, overnight
FR 3181 leaves 16 h 40 after AZ 867 arrives on the timetable: more than half a day, so not a connection we count.