FR 5483 then FR 5321 at Madrid
Porto → Madrid → Milan
Timetable, Madrid time
01:15FR 5483 from Porto at the gate
13:20FR 5321 to Milan leaves the gate
12 h 05 apart on the timetable
FR 5321 leaves 12 h 05 after FR 5483 arrives on the timetable: more than half a day, so not a connection we count.