FR 573 then I2 1743 at Madrid
Porto → Madrid → Málaga
Timetable, Madrid time
08:40FR 573 from Porto at the gate
20:45I2 1743 to Málaga leaves the gatealso IB 1743
12 h 05 apart on the timetable
I2 1743 leaves 12 h 05 after FR 573 arrives on the timetable: more than half a day, so not a connection we count.