IB 540 then SQ 387 at Madrid
Lisbon → Madrid → Barcelona
Timetable, Madrid time
10:10IB 540 from Lisbon at the gatealso LA 1533, CX 1852, VY 5214, AY 5564, QR 6933, PC 7961, AA 8542
10:00SQ 387 to Barcelona leaves the gate
23 h 50 apart on the timetable, overnight
SQ 387 leaves 23 h 50 after IB 540 arrives on the timetable: more than half a day, so not a connection we count.