U2 7890 then HV 5821 at Schiphol
Málaga → Amsterdam → Bari
Timetable, Amsterdam time
21:45U2 7890 from Málaga at the gate
17:40HV 5821 to Bari leaves the gate
19 h 55 apart on the timetable, overnight
HV 5821 leaves 19 h 55 after U2 7890 arrives on the timetable: more than half a day, so not a connection we count.