FR 5494 then FR 5482 at Madrid
Milan Bergamo → Madrid → Porto
Timetable, Madrid time
15:20FR 5494 from Milan Bergamo at the gate
09:05FR 5482 to Porto leaves the gate
17 h 45 apart on the timetable, overnight
FR 5482 leaves 17 h 45 after FR 5494 arrives on the timetable: more than half a day, so not a connection we count.