IB 5295 then VY 8512 at Barcelona
Palma de Mallorca → Barcelona → Marrakesh
Timetable, Barcelona time
10:00IB 5295 from Palma de Mallorca at the gate
06:00VY 8512 to Marrakesh leaves the gate
20 h apart on the timetable, overnight
VY 8512 leaves 20 h after IB 5295 arrives on the timetable: more than half a day, so not a connection we count.