FR 1526 then IB 414 at Barcelona
Valletta → Barcelona → Madrid
Timetable, Barcelona time
15:55FR 1526 from Valletta at the gate
15:05IB 414 to Madrid leaves the gatealso LA 1557, LL 3014, VY 5062, QR 6557, BA 7082, CZ 7324
23 h 10 apart on the timetable, overnight
IB 414 leaves 23 h 10 after FR 1526 arrives on the timetable: more than half a day, so not a connection we count.