QR 3706 then VY 1560 at Barcelona
Bari → Barcelona → Málaga
Timetable, Barcelona time
23:20QR 3706 from Bari at the gate
20:55VY 1560 to Málaga leaves the gate
21 h 35 apart on the timetable, overnight
VY 1560 leaves 21 h 35 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.