LA 5741 then FR 6078 at Barcelona
Málaga → Barcelona → Ouarzazate
Timetable, Barcelona time
08:15LA 5741 from Málaga at the gate
05:45FR 6078 to Ouarzazate leaves the gate
21 h 30 apart on the timetable, overnight
FR 6078 leaves 21 h 30 after LA 5741 arrives on the timetable: more than half a day, so not a connection we count.