FR 2240 then QR 3574 at Barcelona
Marrakesh → Barcelona → Lyon
Timetable, Barcelona time
18:00FR 2240 from Marrakesh at the gate
16:30QR 3574 to Lyon leaves the gate
22 h 30 apart on the timetable, overnight
QR 3574 leaves 22 h 30 after FR 2240 arrives on the timetable: more than half a day, so not a connection we count.