QR 3711 then FR 2239 at Barcelona
Mahón → Barcelona → Marrakesh
Timetable, Barcelona time
14:35QR 3711 from Mahón at the gate
06:40FR 2239 to Marrakesh leaves the gate
16 h 05 apart on the timetable, overnight
FR 2239 leaves 16 h 05 after QR 3711 arrives on the timetable: more than half a day, so not a connection we count.