TU 752 then UX 1040 at Fiumicino
Tunis → Rome → Madrid
Timetable, Rome time
14:25TU 752 from Tunis at the gate
10:30UX 1040 to Madrid leaves the gate
20 h 05 apart on the timetable, overnight
UX 1040 leaves 20 h 05 after TU 752 arrives on the timetable: more than half a day, so not a connection we count.