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