FR 6712 then IB 415 at Madrid
Budapest → Madrid → Barcelona
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
14:55IB 415 to Barcelona leaves the gatealso IB 415S, LA 1522, LL 3015, VY 5057, AV 6016, QR 6889, BA 7134, AA 8630
20 h 45 apart on the timetable, overnight
IB 415 leaves 20 h 45 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.