QR 3767 then IB 402 at Barcelona
Palermo → Barcelona → Madrid
Timetable, Barcelona time
12:00QR 3767 from Palermo at the gate
08:50IB 402 to Madrid leaves the gatealso IB 402S, LL 3002, VY 5025, AV 6007, BA 7077, QR 8003, AA 8763
20 h 50 apart on the timetable, overnight
IB 402 leaves 20 h 50 after QR 3767 arrives on the timetable: more than half a day, so not a connection we count.