HV 6952 then HV 5821 at Schiphol
Tenerife South → Amsterdam → Bari
Timetable, Amsterdam time
23:35HV 6952 from Tenerife South at the gate
17:40HV 5821 to Bari leaves the gate
18 h 05 apart on the timetable, overnight
HV 5821 leaves 18 h 05 after HV 6952 arrives on the timetable: more than half a day, so not a connection we count.