FR 5483 then FR 5493 at Madrid
Porto → Madrid → Milan Bergamo
Timetable, Madrid time
01:15FR 5483 from Porto at the gate
19:30FR 5493 to Milan Bergamo leaves the gate
18 h 15 apart on the timetable
FR 5493 leaves 18 h 15 after FR 5483 arrives on the timetable: more than half a day, so not a connection we count.