IB 418 then FR 572 at Madrid
Barcelona → Madrid → Porto
Timetable, Madrid time
19:25IB 418 from Barcelona at the gatealso IB 418S, LA 1585, CX 1836, LL 3018, VY 5082, AV 6019, QR 6562
14:05FR 572 to Porto leaves the gate
18 h 40 apart on the timetable, overnight
FR 572 leaves 18 h 40 after IB 418 arrives on the timetable: more than half a day, so not a connection we count.