FR 2251 then QR 3518 at Barcelona
Marrakesh → Barcelona → Alicante
Timetable, Barcelona time
22:25FR 2251 from Marrakesh at the gate
16:40QR 3518 to Alicante leaves the gate
18 h 15 apart on the timetable, overnight
QR 3518 leaves 18 h 15 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.