FR 6712 then IB 411 at Madrid
Budapest → Madrid → Barcelona
Timetable, Madrid time
12:55FR 6712 from Budapest at the gate
11:25IB 411 to Barcelona leaves the gatealso CX 1839, LL 3011, VY 5031, QR 5095, AV 6089, BA 7130, AA 8613
22 h 30 apart on the timetable, overnight
IB 411 leaves 22 h 30 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.