IB 52 then I2 1853 at Madrid
Málaga → Madrid → Marrakesh
Timetable, Madrid time
13:15IB 52 from Málaga at the gate
11:50I2 1853 to Marrakesh leaves the gate
22 h 35 apart on the timetable, overnight
I2 1853 leaves 22 h 35 after IB 52 arrives on the timetable: more than half a day, so not a connection we count.