FR 5310 then IB 547 at Madrid
Milan Bergamo → Madrid → Porto
Timetable, Madrid time
16:10FR 5310 from Milan Bergamo at the gate
15:40IB 547 to Porto leaves the gate
23 h 30 apart on the timetable, overnight
IB 547 leaves 23 h 30 after FR 5310 arrives on the timetable: more than half a day, so not a connection we count.