FR 5120 then IB 549 at Madrid
Milan Bergamo → Madrid → Porto
Timetable, Madrid time
21:45FR 5120 from Milan Bergamo at the gate
19:40IB 549 to Porto leaves the gate
21 h 55 apart on the timetable, overnight
IB 549 leaves 21 h 55 after FR 5120 arrives on the timetable: more than half a day, so not a connection we count.