QR 3704 then IB 410 at Barcelona
Bari → Barcelona → Madrid
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
12:30IB 410 to Madrid leaves the gatealso LA 1625, LL 3010, VY 5117, QR 5376, AV 6025
19 h 40 apart on the timetable, overnight
IB 410 leaves 19 h 40 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.