FR 270 then IB 410 at Barcelona
Milan → Barcelona → Madrid
Timetable, Barcelona time
17:55FR 270 from Milan at the gate
12:30IB 410 to Madrid leaves the gatealso LA 1625, CX 1822, LL 3010, VY 5117, QR 5376, AV 6025, AA 8708
18 h 35 apart on the timetable, overnight
IB 410 leaves 18 h 35 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.