QR 3706 then EY 4309 at Barcelona
Bari → Barcelona → Madrid
Timetable, Barcelona time
23:20QR 3706 from Bari at the gate
20:30EY 4309 to Madrid leaves the gatealso MU 4969, KU 6078, KE 6654, AM 6809, UX 7708
21 h 10 apart on the timetable, overnight
EY 4309 leaves 21 h 10 after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.