FR 2540 then IB 413 at Madrid
Bucharest → Madrid → Barcelona
Timetable, Madrid time
13:55FR 2540 from Bucharest at the gate
13:00IB 413 to Barcelona leaves the gatealso IB 413S, CX 1841, LL 3013, VY 5050, LA 5401, AV 6146, QR 6939, BA 7133, AA 8688
23 h 05 apart on the timetable, overnight
IB 413 leaves 23 h 05 after FR 2540 arrives on the timetable: more than half a day, so not a connection we count.