IB 652 then W4 7547 at Madrid
Rome → Madrid → Málaga
Timetable, Madrid time
18:55IB 652 from Rome at the gatealso LA 1640, VY 5825, QR 8017
18:45W4 7547 to Málaga leaves the gate
23 h 50 apart on the timetable, overnight
W4 7547 leaves 23 h 50 after IB 652 arrives on the timetable: more than half a day, so not a connection we count.