FR 5316 then I2 1741 at Madrid
Rome → Madrid → Málaga
Timetable, Madrid time
23:40FR 5316 from Rome at the gate
16:50I2 1741 to Málaga leaves the gatealso IB 1741
17 h 10 apart on the timetable, overnight
I2 1741 leaves 17 h 10 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.