IB 589 then U2 6006 at Charles de Gaulle
Madrid → Paris → Marrakesh
Timetable, Paris time
17:55IB 589 from Madrid at the gate
12:15U2 6006 to Marrakesh leaves the gate
18 h 20 apart on the timetable, overnight
U2 6006 leaves 18 h 20 after IB 589 arrives on the timetable: more than half a day, so not a connection we count.